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. --- i386-asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386-asm.h') diff --git a/i386-asm.h b/i386-asm.h index 760c06d..a954afb 100644 --- a/i386-asm.h +++ b/i386-asm.h @@ -463,7 +463,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