Go to the source code of this file.
Defines | |
| #define | __byte_swap_long_variable(x) |
| #define | __byte_swap_word_variable(x) |
| #define | __byte_swap_long_constant(x) |
| #define | __byte_swap_word_constant(x) |
| #define | __byte_swap_long(x) |
| #define | __byte_swap_word(x) |
|
|
Value: (__builtin_constant_p((x)) ? \
__byte_swap_long_constant(x) : __byte_swap_long_variable(x))
|
|
|
Value: ((((x) & 0xff000000) >> 24) | \
(((x) & 0x00ff0000) >> 8) | \
(((x) & 0x0000ff00) << 8) | \
(((x) & 0x000000ff) << 24))
|
|
|
Value: __extension__ \
({ register in_addr_t __x = (x); \
__asm ("rorw $8, %w1\n\trorl $16, %1\n\trorw $8, %w1" \
: "=r" (__x) \
: "0" (__x)); \
__x; })
|
|
|
Value: (__builtin_constant_p((x)) ? \
__byte_swap_word_constant(x) : __byte_swap_word_variable(x))
|
|
|
Value: ((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8))
|
|
|
Value: __extension__ \
({ register in_port_t __x = (x); \
__asm ("rorw $8, %w1" \
: "=r" (__x) \
: "0" (__x)); \
__x; })
|
1.4.6