From: Jérémie Astor Date: Fri, 13 May 2022 09:04:19 +0000 (+0200) Subject: :bug: Fix constant fold code X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=700c827f79fdada656444055061175ed7157ac72;p=gwion.git :bug: Fix constant fold code --- diff --git a/src/lib/prim.c b/src/lib/prim.c index fcaab1fa..a6dc951a 100644 --- a/src/lib/prim.c +++ b/src/lib/prim.c @@ -84,8 +84,8 @@ static inline uint pot(const m_int x) { return (x > 0) && ((x & (x - 1)) == 0); BINARY_INT_FOLD(add, et_int, +,) BINARY_INT_FOLD(sub, et_int, -,) -BINARY_INT_FOLD(mul, et_int, *, POWEROF2_OPT(name, <<)) -BINARY_INT_FOLD_Z(div, et_int, /, POWEROF2_OPT(name, >>)) +BINARY_INT_FOLD(mul, et_int, *, /*POWEROF2_OPT(name, <<)*/) +BINARY_INT_FOLD_Z(div, et_int, /,/* POWEROF2_OPT(name, >>)*/) BINARY_INT_FOLD_Z(mod, et_int, %,) BINARY_INT_FOLD(sl, et_int, <<,) BINARY_INT_FOLD(sr, et_int, >>,)