From a1a691a030d065bf234f8a476e3b958e43b1b7c5 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 24 Sep 2013 15:32:52 +0200 Subject: Detect correct instruction with incorrect operands Display a different warning when an instruction is recognized by tcc but the operands found do not correspond to the constraints of the instruction. --- x86_64-asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x86_64-asm.h') diff --git a/x86_64-asm.h b/x86_64-asm.h index 69cd77c..31a7b38 100644 --- a/x86_64-asm.h +++ b/x86_64-asm.h @@ -438,7 +438,7 @@ ALT(DEF_ASM_OP2(psrlq, 0x0f73, 2, OPC_MODRM, OPT_IM8, OPT_MMX )) DEF_ASM_OP2(punpcklbw, 0x0f60, 0, OPC_MODRM, OPT_EA | OPT_MMX, OPT_MMX ) DEF_ASM_OP2(punpcklwd, 0x0f61, 0, OPC_MODRM, OPT_EA | OPT_MMX, OPT_MMX ) DEF_ASM_OP2(punpckldq, 0x0f62, 0, OPC_MODRM, OPT_EA | OPT_MMX, OPT_MMX ) - DEF_ASM_OP2(pxor, 0x0fef, 0, OPC_MODRM, OPT_EA | OPT_MMX, OPT_MMX ) + DEF_ASM_OP2(pxor, 0x0fef, 0, OPC_MODRM, OPT_EA | OPT_MMX, OPT_MMX ) /* must be last !OP0 */ #undef ALT #undef DEF_ASM_OP0 -- cgit v1.3.1