aboutsummaryrefslogtreecommitdiff
path: root/x86_64-asm.h
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-01-06 22:59:19 +0300
committerseyko <seyko2@gmail.com>2015-01-06 22:59:19 +0300
commite260b036866572847c89a059cc4ee54b59c11d73 (patch)
tree5844c94274b9e55258e8e8a758bc32c69063601c /x86_64-asm.h
parentc334b591429509730e9925b53ea23645d49cd8ce (diff)
downloadtinycc-e260b036866572847c89a059cc4ee54b59c11d73.tar.gz
tinycc-e260b036866572847c89a059cc4ee54b59c11d73.tar.bz2
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.
Diffstat (limited to 'x86_64-asm.h')
-rw-r--r--x86_64-asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/x86_64-asm.h b/x86_64-asm.h
index 31a7b38..2f80e4b 100644
--- a/x86_64-asm.h
+++ b/x86_64-asm.h
@@ -204,6 +204,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)