Browse Source

restore LBITS because NEON code needs it

master
Mike Hamburg 9 years ago
parent
commit
97e98f5081
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/decaf_fast.c

+ 2
- 2
src/decaf_fast.c View File

@@ -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)-1), (x##ull)>>LBITS
#define SC_LIMB(x) (x##ull)&((1ull<<32)-1), (x##ull)>>32
#else
#error "Only supporting 32- and 64-bit platforms right now"


Loading…
Cancel
Save