Fix collision of scalar rotate() and simd rotate() in hash modes like 8900

pull/3806/head
jsteube 10 months ago
parent 6330b1ed2c
commit 7aca373752

@ -39,7 +39,7 @@ DECLSPEC u64x rotr64 (const u64x a, const int n);
DECLSPEC u64 rotl64_S (const u64 a, const int n);
DECLSPEC u64 rotr64_S (const u64 a, const int n);
#define rotate(a,n) (((a) << (n)) | ((a) >> (32 - (n))))
//#define rotate(a,n) (((a) << (n)) | ((a) >> (32 - (n))))
#define bitselect(a,b,c) ((a) ^ ((c) & ((b) ^ (a))))
#endif // IS_CUDA

Loading…
Cancel
Save