1 /* ------------------------------------------------------------------ */
2 /* WARNING: relative order of tokens is important. */
29 #ifdef TCC_TARGET_X86_64
96 #ifdef TCC_TARGET_X86_64
97 /* The four low parts of sp/bp/si/di that exist only on
98 x86-64 (encoding aliased to ah,ch,dh,dh when not using REX). */
104 /* generic two operands */
143 #ifdef TCC_TARGET_X86_64
150 #ifdef TCC_TARGET_X86_64
163 #ifdef TCC_TARGET_X86_64
204 DEF_ASM(fcom_1
) /* non existent op, just to have a regular table */
230 /* generic asm ops */
232 #define DEF_ASM_OP0(name, opcode) DEF_ASM(name)
233 #define DEF_ASM_OP0L(name, opcode, group, instr_type)
234 #define DEF_ASM_OP1(name, opcode, group, instr_type, op0)
235 #define DEF_ASM_OP2(name, opcode, group, instr_type, op0, op1)
236 #define DEF_ASM_OP3(name, opcode, group, instr_type, op0, op1, op2)
237 #ifdef TCC_TARGET_X86_64
238 # include "x86_64-asm.h"
240 # include "i386-asm.h"
244 #define DEF_ASM_OP0(name, opcode)
245 #define DEF_ASM_OP0L(name, opcode, group, instr_type) DEF_ASM(name)
246 #define DEF_ASM_OP1(name, opcode, group, instr_type, op0) DEF_ASM(name)
247 #define DEF_ASM_OP2(name, opcode, group, instr_type, op0, op1) DEF_ASM(name)
248 #define DEF_ASM_OP3(name, opcode, group, instr_type, op0, op1, op2) DEF_ASM(name)
249 #ifdef TCC_TARGET_X86_64
250 # include "x86_64-asm.h"
252 # include "i386-asm.h"