Go to the documentation of this file.
7 #ifndef _BLACKFIN_SWAB_H
8 #define _BLACKFIN_SWAB_H
10 #include <linux/types.h>
19 "%0 = %0 << 8 (V);\n\t"
21 :
"+d"(xx),
"=&d"(tmp));
24 #define __arch_swahb32 __arch_swahb32
29 __asm__(
"%0 = PACK(%1.L, %1.H);\n\t":
"=d"(rv):
"d"(xx));
32 #define __arch_swahw32 __arch_swahw32
38 #define __arch_swab32 __arch_swab32
43 __asm__(
"%0 <<= 8;\n %0.L = %0.L + %0.H (NS);\n":
"+d"(xw));
46 #define __arch_swab16 __arch_swab16