aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-21 09:07:03 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-21 09:07:03 +0100
commit9c19e9ec4df225ed9e75ba4c839d6da08e23dd4a (patch)
tree8cdc23cefe340dde1266cb8ab1e57785c5283990 /gas
parent6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5 (diff)
downloadgdb-9c19e9ec4df225ed9e75ba4c839d6da08e23dd4a.zip
gdb-9c19e9ec4df225ed9e75ba4c839d6da08e23dd4a.tar.gz
gdb-9c19e9ec4df225ed9e75ba4c839d6da08e23dd4a.tar.bz2
x86: rename CheckRegSize to CheckOperandSize
While originally indeed used for register size checking only, the attribute has been used for memory operand size checking as well already for quite a while, with more such uses recently having been added.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 990f4b9..57257b9 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -6431,7 +6431,7 @@ check_VecOperands (const insn_template *t)
if (operand_type_all_zero (&overlap))
goto bad_broadcast;
- if (t->opcode_modifier.checkregsize)
+ if (t->opcode_modifier.checkoperandsize)
{
unsigned int j;
@@ -6848,7 +6848,7 @@ match_template (char mnem_suffix)
}
/* We check register size if needed. */
- if (t->opcode_modifier.checkregsize)
+ if (t->opcode_modifier.checkoperandsize)
{
check_register = (1 << t->operands) - 1;
if (i.broadcast.type || i.broadcast.bytes)