aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-11-14 08:46:19 +0100
committerJan Beulich <jbeulich@suse.com>2019-11-14 08:46:19 +0100
commit601e8564220b94b991ce1729edfc04fd9da52906 (patch)
treec2d7bdef3ed24d92a9cd9ba157a58c8bec99d201 /gas
parentdb4e407b539180099a2aa395571bd417daa1daeb (diff)
downloadgdb-601e8564220b94b991ce1729edfc04fd9da52906.zip
gdb-601e8564220b94b991ce1729edfc04fd9da52906.tar.gz
gdb-601e8564220b94b991ce1729edfc04fd9da52906.tar.bz2
x86: make AnySize an insn attribute
... instead of an operand one. Which operand it applies to can be determined from other operand properties, but as it turns out the only place it is actually used at doesn't even need further qualification.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 147d29c..bb8dd07 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2019-11-14 Jan Beulich <jbeulich@suse.com>
+ * config/tc-i386.c (operand_size_match): Adjust anysize use.
+
+2019-11-14 Jan Beulich <jbeulich@suse.com>
+
* testsuite/gas/i386/intel-cmps32.d,
testsuite/gas/i386/intel-cmps64.d: Correct regexp closing
parentheses placement.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index c559041..eeb16b7 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -2075,7 +2075,7 @@ operand_size_match (const insn_template *t)
{
if (i.types[j].bitfield.class != Reg
&& i.types[j].bitfield.class != RegSIMD
- && t->operand_types[j].bitfield.anysize)
+ && t->opcode_modifier.anysize)
continue;
if (t->operand_types[j].bitfield.class == Reg