Lines Matching refs:x

25 #define ___asm_opcode_swab32(x) (	\  argument
26 (((x) << 24) & 0xFF000000) \
27 | (((x) << 8) & 0x00FF0000) \
28 | (((x) >> 8) & 0x0000FF00) \
29 | (((x) >> 24) & 0x000000FF) \
31 #define ___asm_opcode_swab16(x) ( \ argument
32 (((x) << 8) & 0xFF00) \
33 | (((x) >> 8) & 0x00FF) \
35 #define ___asm_opcode_swahb32(x) ( \ argument
36 (((x) << 8) & 0xFF00FF00) \
37 | (((x) >> 8) & 0x00FF00FF) \
39 #define ___asm_opcode_swahw32(x) ( \ argument
40 (((x) << 16) & 0xFFFF0000) \
41 | (((x) >> 16) & 0x0000FFFF) \
43 #define ___asm_opcode_identity32(x) ((x) & 0xFFFFFFFF) argument
44 #define ___asm_opcode_identity16(x) ((x) & 0xFFFF) argument
77 #define ___opcode_swab32(x) ___asm_opcode_swab32(x)
78 #define ___opcode_swab16(x) ___asm_opcode_swab16(x)
79 #define ___opcode_swahb32(x) ___asm_opcode_swahb32(x)
80 #define ___opcode_swahw32(x) ___asm_opcode_swahw32(x)
81 #define ___opcode_identity32(x) ___asm_opcode_identity32(x)
82 #define ___opcode_identity16(x) ___asm_opcode_identity16(x)
89 #define ___opcode_swab32(x) swab32(x) argument
90 #define ___opcode_swab16(x) swab16(x) argument
91 #define ___opcode_swahb32(x) swahb32(x) argument
92 #define ___opcode_swahw32(x) swahw32(x) argument
93 #define ___opcode_identity32(x) ((u32)(x)) argument
94 #define ___opcode_identity16(x) ((u16)(x)) argument
101 #define __opcode_to_mem_arm(x) ___opcode_swab32(x) argument
102 #define __opcode_to_mem_thumb16(x) ___opcode_swab16(x) argument
103 #define __opcode_to_mem_thumb32(x) ___opcode_swahb32(x) argument
104 #define ___asm_opcode_to_mem_arm(x) ___asm_opcode_swab32(x) argument
105 #define ___asm_opcode_to_mem_thumb16(x) ___asm_opcode_swab16(x) argument
106 #define ___asm_opcode_to_mem_thumb32(x) ___asm_opcode_swahb32(x) argument
110 #define __opcode_to_mem_arm(x) ___opcode_identity32(x) argument
111 #define __opcode_to_mem_thumb16(x) ___opcode_identity16(x) argument
112 #define ___asm_opcode_to_mem_arm(x) ___asm_opcode_identity32(x) argument
113 #define ___asm_opcode_to_mem_thumb16(x) ___asm_opcode_identity16(x) argument
120 #define __opcode_to_mem_thumb32(x) ___opcode_swahw32(x) argument
121 #define ___asm_opcode_to_mem_thumb32(x) ___asm_opcode_swahw32(x) argument
126 #define __mem_to_opcode_arm(x) __opcode_to_mem_arm(x) argument
127 #define __mem_to_opcode_thumb16(x) __opcode_to_mem_thumb16(x) argument
129 #define __mem_to_opcode_thumb32(x) __opcode_to_mem_thumb32(x) argument
135 #define __opcode_is_thumb32(x) ( \ argument
136 ((x) & 0xF8000000) == 0xE8000000 \
137 || ((x) & 0xF0000000) == 0xF0000000 \
139 #define __opcode_is_thumb16(x) ( \ argument
140 ((x) & 0xFFFF0000) == 0 \
141 && !(((x) & 0xF800) == 0xE800 || ((x) & 0xF000) == 0xF000) \
145 #define __opcode_thumb32_first(x) (___opcode_identity16((x) >> 16)) argument
146 #define __opcode_thumb32_second(x) (___opcode_identity16(x)) argument
151 #define ___asm_opcode_thumb32_first(x) (___asm_opcode_identity16((x) >> 16)) argument
152 #define ___asm_opcode_thumb32_second(x) (___asm_opcode_identity16(x)) argument
200 #define __inst_arm(x) ___inst_arm(___asm_opcode_to_mem_arm(x)) argument
201 #define __inst_thumb32(x) ___inst_thumb32( \ argument
202 ___asm_opcode_to_mem_thumb16(___asm_opcode_thumb32_first(x)), \
203 ___asm_opcode_to_mem_thumb16(___asm_opcode_thumb32_second(x)) \
205 #define __inst_thumb16(x) ___inst_thumb16(___asm_opcode_to_mem_thumb16(x)) argument
219 #define ___inst_arm(x) .long x
220 #define ___inst_thumb16(x) .short x
223 #define ___inst_arm(x) ".long " __stringify(x) "\n\t" argument
224 #define ___inst_thumb16(x) ".short " __stringify(x) "\n\t" argument