Go to the documentation of this file.
9 #ifndef _ASM_C6X_SWAB_H
10 #define _ASM_C6X_SWAB_H
14 asm(
"swap4 .l1 %0,%0\n" :
"+a"(
val));
20 asm(
"swap4 .l1 %0,%0\n"
28 asm(
" swap2 .s1 %p0,%P0\n"
29 "|| swap2 .l1 %P0,%p0\n"
30 " swap4 .l1 %p0,%p0\n"
31 " swap4 .l1 %P0,%P0\n"
38 asm(
"swap2 .l1 %0,%0\n" :
"+a"(
val));
44 asm(
"swap4 .l1 %0,%0\n" :
"+a"(
val));
48 #define __arch_swab16 __c6x_swab16
49 #define __arch_swab32 __c6x_swab32
50 #define __arch_swab64 __c6x_swab64
51 #define __arch_swahw32 __c6x_swahw32
52 #define __arch_swahb32 __c6x_swahb32