From b0dbd5c37b6dc5a7b47836b4e57f38968b3443b9 Mon Sep 17 00:00:00 2001 From: dzaima Date: Mon, 23 Jan 2023 21:57:47 +0200 Subject: [PATCH] fix gcc build --- src/builtins/arithm.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/builtins/arithm.c b/src/builtins/arithm.c index 936fe790..0d910ac8 100644 --- a/src/builtins/arithm.c +++ b/src/builtins/arithm.c @@ -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,) #if SINGELI - #define STILE_BODY(FEXPR) { usz ia = IA(x); B r; retry: \ - void* rp = m_tyarrlc(&r, elWidth(xe), x, el2t(xe)); \ - u64 got = simd_abs[xe-el_i8](rp, tyany_ptr(x), ia); \ - if (LIKELY(got==ia)) { decG(x); return r; } \ - tyarr_freeF(v(r)); \ - xe++;if (xe==el_i16) x=taga(cpyI16Arr(x)); \ - else if (xe==el_i32) x=taga(cpyI32Arr(x)); \ - else x=taga(cpyF64Arr(x)); \ - goto retry; \ + #define STILE_BODY(FEXPR) { usz ia = IA(x); B r; retry:; \ + void* rp = m_tyarrlc(&r, elWidth(xe), x, el2t(xe)); \ + u64 got = simd_abs[xe-el_i8](rp, tyany_ptr(x), ia); \ + if (LIKELY(got==ia)) { decG(x); return r; } \ + tyarr_freeF(v(r)); \ + xe++;if (xe==el_i16) x=taga(cpyI16Arr(x)); \ + else if (xe==el_i32) x=taga(cpyI32Arr(x)); \ + else x=taga(cpyF64Arr(x)); \ + goto retry; \ } #else #define STILE_EXPR(T, C) if(C) goto bad; ((T*)rp)[i] = c>=0? c : -c;