Go to the documentation of this file.
4 #include <linux/types.h>
5 #include <linux/compiler.h>
7 #define __SWAB_64_THRU_32__
17 #define __arch_swab16 __arch_swab16
22 "dep %0, 15, 8, %0\n\t"
32 __asm__(
"shd %0, %0, 16, %1\n\t"
33 "dep %1, 15, 8, %1\n\t"
35 :
"=r" (x),
"=&r" (temp)
39 #define __arch_swab32 __arch_swab32
41 #if BITS_PER_LONG > 32
57 "hshr,u %0, 8, %0\n\t"
59 :
"=r" (x),
"=&r" (temp)
63 #define __arch_swab64 __arch_swab64