aboutsummaryrefslogtreecommitdiff
path: root/i386-tok.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386-tok.h')
-rw-r--r--i386-tok.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/i386-tok.h b/i386-tok.h
index cf65897..8c25af0 100644
--- a/i386-tok.h
+++ b/i386-tok.h
@@ -93,6 +93,14 @@
DEF_ASM(st)
DEF_ASM(rip)
+#ifdef TCC_TARGET_X86_64
+ /* The four low parts of sp/bp/si/di that exist only on
+ x86-64 (encoding aliased to ah,ch,dh,dh when not using REX). */
+ DEF_ASM(spl)
+ DEF_ASM(bpl)
+ DEF_ASM(sil)
+ DEF_ASM(dil)
+#endif
/* generic two operands */
DEF_BWLX(mov)