From a34bb0a4336616a55c5fc1864bfdde9dec32f722 Mon Sep 17 00:00:00 2001 From: dzaima Date: Wed, 28 Dec 2022 16:51:17 +0200 Subject: [PATCH] don't unroll libc math loops --- src/builtins/arithd.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/builtins/arithd.c b/src/builtins/arithd.c index cf143c23..d20decd6 100644 --- a/src/builtins/arithd.c +++ b/src/builtins/arithd.c @@ -72,7 +72,7 @@ typedef void (*AndBytesFn)(u8*, u8*, u64, u64); #define DOI16(EXPR,A,W,X,BASE) { Ri16(A) for (usz i=0; i0 && (wi32&(wi32-1))==0) { if (wi32==1) { Arr* ra=allZeroes(IA(x)); arr_shCopy(ra, x); r = taga(ra); decG(x); return r; }