Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4420 from martin-frbg/revertstuff
Browse files Browse the repository at this point in the history
Revert accidental direct commits to develop
  • Loading branch information
martin-frbg authored Jan 7, 2024
2 parents 2173356 + f052bd4 commit 7a6a246
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions kernel/mips/zscal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
3 changes: 0 additions & 3 deletions kernel/riscv64/zscal_vector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 7a6a246

Please sign in to comment.