aboutsummaryrefslogtreecommitdiff
path: root/i386-asm.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-05-12 01:45:05 +0200
committerMichael Matz <matz@suse.de>2016-05-14 04:05:34 +0200
commit080ec9faddc4b7661ab05159b07655ae0224ec58 (patch)
treec1d2330bccc3a743f7dc204ef9e4e8857590e504 /i386-asm.c
parent5e4d0718ff4c860ac0961652ab8cb8cb2826ac84 (diff)
downloadtinycc-080ec9faddc4b7661ab05159b07655ae0224ec58.tar.gz
tinycc-080ec9faddc4b7661ab05159b07655ae0224ec58.tar.bz2
x86-asm: Consolidate insn descriptions
Use OPC_BWLX and OPC_WLX in i386-asm.h and x86_64-asm.h to reduce number of differences between both.
Diffstat (limited to 'i386-asm.c')
-rw-r--r--i386-asm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/i386-asm.c b/i386-asm.c
index b158e81..7b92ccb 100644
--- a/i386-asm.c
+++ b/i386-asm.c
@@ -46,8 +46,10 @@
# define OPC_WLQ 0x1000 /* accepts w, l, q or no suffix */
# define OPC_BWLQ (OPC_B | OPC_WLQ) /* accepts b, w, l, q or no suffix */
# define OPC_WLX OPC_WLQ
+# define OPC_BWLX OPC_BWLQ
#else
# define OPC_WLX OPC_WL
+# define OPC_BWLX OPC_BWL
#endif
#define OPC_GROUP_SHIFT 13