Browse Source

Merge pull request #4420 from martin-frbg/revertstuff

Revert accidental direct commits to develop
tags/v0.3.27
Martin Kroeker GitHub 2 years ago
parent
commit
7a6a24647d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions
  1. +1
    -2
      kernel/mips/zscal.c
  2. +0
    -3
      kernel/riscv64/zscal_vector.c

+ 1
- 2
kernel/mips/zscal.c View File

@@ -63,9 +63,8 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
x[ip+1] = da_r * x[ip+1] + da_i * x[ip] ;
}
}
// if (!isnan(x[ip]) && !isinf(x[ip]))
x[ip] = temp;
if ( da_r != da_r ) x[ip] = da_r;
ip += inc_x2;
}



+ 0
- 3
kernel/riscv64/zscal_vector.c View File

@@ -59,7 +59,6 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F

unsigned int gvl = 0;
FLOAT_V_T vt, v0, v1;

if(da_r == 0.0 && da_i == 0.0){
gvl = VSETVL(n);
BLASLONG stride_x = inc_x * 2 * sizeof(FLOAT);
@@ -81,7 +80,6 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
j += gvl;
ix += inc_x * 2 * gvl;
}
#if 0
}else if(da_r == 0.0){
gvl = VSETVL(n);
BLASLONG stride_x = inc_x * 2 * sizeof(FLOAT);
@@ -110,7 +108,6 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
VSSEV_FLOAT(&x[ix], stride_x, vt, gvl);
VSSEV_FLOAT(&x[ix+1], stride_x, v1, gvl);
}
#endif
}else if(da_i == 0.0){
gvl = VSETVL(n);
BLASLONG stride_x = inc_x * 2 * sizeof(FLOAT);


Loading…
Cancel
Save