From e260b036866572847c89a059cc4ee54b59c11d73 Mon Sep 17 00:00:00 2001 From: seyko Date: Tue, 6 Jan 2015 22:59:19 +0300 Subject: Allow tcc to understand a setob,... opcodes as alias to seto,... PS: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20101122/112576.html This is fix PR8686 for llvm: accepting a 'b' suffix at the end of all the setcc instructions. --- i386-asm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'i386-asm.h') diff --git a/i386-asm.h b/i386-asm.h index a954afb..43c8867 100644 --- a/i386-asm.h +++ b/i386-asm.h @@ -219,6 +219,7 @@ ALT(DEF_ASM_OP1(ljmp, 0xff, 5, 0, OPT_EA)) ALT(DEF_ASM_OP1(int, 0xcd, 0, 0, OPT_IM8)) ALT(DEF_ASM_OP1(seto, 0x0f90, 0, OPC_MODRM | OPC_TEST, OPT_REG8 | OPT_EA)) +ALT(DEF_ASM_OP1(setob, 0x0f90, 0, OPC_MODRM | OPC_TEST, OPT_REG8 | OPT_EA)) DEF_ASM_OP2(enter, 0xc8, 0, 0, OPT_IM16, OPT_IM8) DEF_ASM_OP0(leave, 0xc9) DEF_ASM_OP0(ret, 0xc3) -- cgit v1.3.1