aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-init.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-11-08 09:03:23 +0100
committerJan Beulich <jbeulich@suse.com>2019-11-08 09:03:23 +0100
commitbab6aec1255ba2ec8de3ae0363958e2ff26ce25d (patch)
treeefe48ee35c00c178caec897d69237980ef1f83cf /opcodes/i386-init.h
parent831bd6aa3b2d5e36c94b89756f58bb99f35026ca (diff)
downloadfsf-binutils-gdb-bab6aec1255ba2ec8de3ae0363958e2ff26ce25d.zip
fsf-binutils-gdb-bab6aec1255ba2ec8de3ae0363958e2ff26ce25d.tar.gz
fsf-binutils-gdb-bab6aec1255ba2ec8de3ae0363958e2ff26ce25d.tar.bz2
x86: introduce operand type "class"
Many operand types, in particular the various kinds of registers, can't be combined with one another (neither in templates nor in register entries), and hence it is not a good use of resources (memory as well as execution time) to represent them as individual bits of a bit field.
Diffstat (limited to 'opcodes/i386-init.h')
-rw-r--r--opcodes/i386-init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h
index f67e534..66e5f11 100644
--- a/opcodes/i386-init.h
+++ b/opcodes/i386-init.h
@@ -1551,6 +1551,10 @@
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
+#define OPERAND_TYPE_ANYIMM \
+ { { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, \
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
+
#define OPERAND_TYPE_REGBND \
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 } }