aboutsummaryrefslogtreecommitdiff
path: root/i386-asm.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-09-24 15:32:52 +0200
committerThomas Preud'homme <robotux@celest.fr>2013-09-24 15:37:11 +0200
commita1a691a030d065bf234f8a476e3b958e43b1b7c5 (patch)
tree6c6eb3082e03cd6247e3c036a18d0c4b9fd233f5 /i386-asm.h
parent45b35a3d66ee95e2526bf609cc88c4b4b21ac175 (diff)
downloadtinycc-a1a691a030d065bf234f8a476e3b958e43b1b7c5.tar.gz
tinycc-a1a691a030d065bf234f8a476e3b958e43b1b7c5.tar.bz2
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.
Diffstat (limited to 'i386-asm.h')
-rw-r--r--i386-asm.h2
1 files changed, 1 insertions, 1 deletions
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