From 97e98f5081f70efaf9e7ae31511097fd963fa342 Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Fri, 1 May 2015 18:39:48 -0700 Subject: [PATCH] restore LBITS because NEON code needs it --- src/decaf_fast.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/decaf_fast.c b/src/decaf_fast.c index d4d816f..fa18f96 100644 --- a/src/decaf_fast.c +++ b/src/decaf_fast.c @@ -34,8 +34,8 @@ typedef __int128_t decaf_sdword_t; #define SC_LIMB(x) (x##ull) #elif WBITS == 32 typedef int64_t decaf_sdword_t; -/* 28 is MAGIC */ -#define LIMB(x) (x##ull)&((1ull<<28)-1), (x##ull)>>28 +#define LBITS 28 /* MAGIC */ +#define LIMB(x) (x##ull)&((1ull<>LBITS #define SC_LIMB(x) (x##ull)&((1ull<<32)-1), (x##ull)>>32 #else #error "Only supporting 32- and 64-bit platforms right now"