fix gcc build
This commit is contained in:
parent
b0c4f78176
commit
b0dbd5c37b
@ -61,15 +61,15 @@ B add_c1(B t, B x) {
|
|||||||
#define SIGN_MAIN(FEXPR) LOOP_BODY(i8* rp; B r=m_i8arrc(&rp,x);, SIGN_EXPR,)
|
#define SIGN_MAIN(FEXPR) LOOP_BODY(i8* rp; B r=m_i8arrc(&rp,x);, SIGN_EXPR,)
|
||||||
|
|
||||||
#if SINGELI
|
#if SINGELI
|
||||||
#define STILE_BODY(FEXPR) { usz ia = IA(x); B r; retry: \
|
#define STILE_BODY(FEXPR) { usz ia = IA(x); B r; retry:; \
|
||||||
void* rp = m_tyarrlc(&r, elWidth(xe), x, el2t(xe)); \
|
void* rp = m_tyarrlc(&r, elWidth(xe), x, el2t(xe)); \
|
||||||
u64 got = simd_abs[xe-el_i8](rp, tyany_ptr(x), ia); \
|
u64 got = simd_abs[xe-el_i8](rp, tyany_ptr(x), ia); \
|
||||||
if (LIKELY(got==ia)) { decG(x); return r; } \
|
if (LIKELY(got==ia)) { decG(x); return r; } \
|
||||||
tyarr_freeF(v(r)); \
|
tyarr_freeF(v(r)); \
|
||||||
xe++;if (xe==el_i16) x=taga(cpyI16Arr(x)); \
|
xe++;if (xe==el_i16) x=taga(cpyI16Arr(x)); \
|
||||||
else if (xe==el_i32) x=taga(cpyI32Arr(x)); \
|
else if (xe==el_i32) x=taga(cpyI32Arr(x)); \
|
||||||
else x=taga(cpyF64Arr(x)); \
|
else x=taga(cpyF64Arr(x)); \
|
||||||
goto retry; \
|
goto retry; \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define STILE_EXPR(T, C) if(C) goto bad; ((T*)rp)[i] = c>=0? c : -c;
|
#define STILE_EXPR(T, C) if(C) goto bad; ((T*)rp)[i] = c>=0? c : -c;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user