aboutsummaryrefslogtreecommitdiff
path: root/i386-tok.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 /i386-tok.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 'i386-tok.h')
-rw-r--r--i386-tok.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/i386-tok.h b/i386-tok.h
index 6ba865d..b0ca3ed 100644
--- a/i386-tok.h
+++ b/i386-tok.h
@@ -172,10 +172,11 @@
DEF_ASM(lcall)
DEF_ASM(ljmp)
- DEF_ASMTEST(j)
+ DEF_ASMTEST(j,)
- DEF_ASMTEST(set)
- DEF_ASMTEST(cmov)
+ DEF_ASMTEST(set,)
+ DEF_ASMTEST(set,b)
+ DEF_ASMTEST(cmov,)
DEF_WLX(bsf)
DEF_WLX(bsr)