Go to the source code of this file.
#define __fast_swap |
( |
|
a, |
|
|
|
b |
|
) |
| do { (a) ^= (b); (b) ^= (a); (a) ^= (b); } while(0) |
#define __static_byteswap_16 |
( |
|
x | ) |
|
#define __static_byteswap_32 |
( |
|
x | ) |
|
Value: (((
_u32)(x) & (
_u32)0x000000FFUL) << 24) | \
(((
_u32)(x) & (
_u32)0x0000FF00UL) << 8) | \
(((
_u32)(x) & (
_u32)0x00FF0000UL) >> 8) | \
(((
_u32)(x) & (
_u32)0xFF000000UL) >> 24)))
Definition at line 17 of file byteops.h.
#define __static_byteswap_64 |
( |
|
x | ) |
|
Value: (((
_u64)(x) & (
_u64)0x00000000000000ffULL) << 56) | \
(((
_u64)(x) & (
_u64)0x000000000000ff00ULL) << 40) | \
(((
_u64)(x) & (
_u64)0x0000000000ff0000ULL) << 24) | \
(((
_u64)(x) & (
_u64)0x00000000ff000000ULL) << 8) | \
(((
_u64)(x) & (
_u64)0x000000ff00000000ULL) >> 8) | \
(((
_u64)(x) & (
_u64)0x0000ff0000000000ULL) >> 24) | \
(((
_u64)(x) & (
_u64)0x00ff000000000000ULL) >> 40) | \
(((
_u64)(x) & (
_u64)0xff00000000000000ULL) >> 56)))
Definition at line 23 of file byteops.h.