Revision ef10b106
b/tcg/i386/tcg-target.c | ||
---|---|---|
173 | 173 |
#define OPC_MOVB_EvGv (0x88) /* stores, more or less */ |
174 | 174 |
#define OPC_MOVL_EvGv (0x89) /* stores, more or less */ |
175 | 175 |
#define OPC_MOVL_GvEv (0x8b) /* loads, more or less */ |
176 |
#define OPC_MOVL_Iv (0xb8) |
|
176 | 177 |
#define OPC_MOVSBL (0xbe | P_EXT) |
177 | 178 |
#define OPC_MOVSWL (0xbf | P_EXT) |
178 | 179 |
#define OPC_MOVZBL (0xb6 | P_EXT) |
... | ... | |
300 | 301 |
if (arg == 0) { |
301 | 302 |
tgen_arithr(s, ARITH_XOR, ret, ret); |
302 | 303 |
} else { |
303 |
tcg_out8(s, 0xb8 + ret);
|
|
304 |
tcg_out8(s, OPC_MOVL_Iv + ret);
|
|
304 | 305 |
tcg_out32(s, arg); |
305 | 306 |
} |
306 | 307 |
} |
Also available in: Unified diff