From a2a6bcb90dc4ddd7ad2b3f44aa8b00a48986ca9b Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Tue, 9 Apr 2019 03:31:32 +0000 Subject: [PATCH] fixed a wrong build directive in bigint.c --- moo/lib/bigint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moo/lib/bigint.c b/moo/lib/bigint.c index 85ceb3b..49884fc 100644 --- a/moo/lib/bigint.c +++ b/moo/lib/bigint.c @@ -190,7 +190,7 @@ static MOO_INLINE int get_pos_of_msb_set (moo_oow_t x) return MOO_OOW_BITS - __builtin_clzl(x) - 1; /* count the number of leading zeros */ #elif defined(MOO_HAVE_BUILTIN_CLZ) && (MOO_SIZEOF_OOW_T == MOO_SIZEOF_INT) return MOO_OOW_BITS - __builtin_clz(x) - 1; /* count the number of leading zeros */ -#elif !defined(__GNUC__) && (defined(__x86_64) || defined(__amd64) || defined(__i386) || defined(i386)) +#elif defined(__GNUC__) && (defined(__x86_64) || defined(__amd64) || defined(__i386) || defined(i386)) /* bit scan reverse. not all x86 CPUs have LZCNT. */ moo_oow_t pos; __asm__ volatile (