no need to unroll ≢x size checking
This commit is contained in:
parent
0d238f2b88
commit
4b38a8cf6b
@ -199,7 +199,7 @@ B fne_c1(B t, B x) {
|
|||||||
ur xr = RNK(x);
|
ur xr = RNK(x);
|
||||||
usz* sh = SH(x);
|
usz* sh = SH(x);
|
||||||
usz or = 0;
|
usz or = 0;
|
||||||
for (i32 i = 0; i < xr; i++) or|= sh[i];
|
NOUNROLL for (i32 i = 0; i < xr; i++) or|= sh[i];
|
||||||
B r;
|
B r;
|
||||||
if (or<=I8_MAX ) { i8* rp; r = m_i8arrv (&rp, xr); PLAINLOOP for (i32 i = 0; i < xr; i++) rp[i] = sh[i]; }
|
if (or<=I8_MAX ) { i8* rp; r = m_i8arrv (&rp, xr); PLAINLOOP for (i32 i = 0; i < xr; i++) rp[i] = sh[i]; }
|
||||||
else if (or<=I16_MAX) { i16* rp; r = m_i16arrv(&rp, xr); PLAINLOOP for (i32 i = 0; i < xr; i++) rp[i] = sh[i]; }
|
else if (or<=I16_MAX) { i16* rp; r = m_i16arrv(&rp, xr); PLAINLOOP for (i32 i = 0; i < xr; i++) rp[i] = sh[i]; }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user