V0.6 #852
|
@ -24,9 +24,8 @@
|
|||
|
||||
|
||||
/// Warning: This version of SWAP64(n) is slow and avoid bugs on AMD GPUs(7970)
|
||||
#define SWAP64(n) as_ulong(as_uchar8(n).s76543210)
|
||||
// #define SWAP64(n) as_ulong(as_uchar8(n).s76543210)
|
||||
|
||||
/*
|
||||
#define SWAP64(n) \
|
||||
(((n) << 56) \
|
||||
| (((n) & 0xff00) << 40) \
|
||||
|
@ -36,7 +35,6 @@
|
|||
| (((n) >> 24) & 0xff0000) \
|
||||
| (((n) >> 40) & 0xff00) \
|
||||
| ((n) >> 56))
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
|
Reference in New Issue
Block a user