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.
This commit is contained in:
Michael Matz
2016-05-12 01:45:05 +02:00
parent 5e4d0718ff
commit 080ec9fadd
3 changed files with 173 additions and 171 deletions

View File

@ -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