123456789101112131415161718192021222324252627282930313233343536 |
- #ifndef _ASM_BITS_BYTESWAP_H
- #define _ASM_BITS_BYTESWAP_H 1
- #if !defined __mcoldfire__
- # define __bswap_non_constant_32(x) \
- __extension__ \
- ({ unsigned int __bswap_32_v
- __asm__ __volatile__ ("ror%.w %#8, %0;" \
- "swap %0;" \
- "ror%.w %#8, %0" \
- : "=d" (__bswap_32_v) \
- : "0" ((unsigned int) (x)))
- __bswap_32_v
- #endif
- #endif
- #include <bits/byteswap-common.h>
|