summaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
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 /opcodes/i386-opc.h
parent6b7d3204b5afa5dd5301702c391ee45fdbb1cbc5 (diff)
downloadbinutils-gdb-9c19e9ec4df225ed9e75ba4c839d6da08e23dd4a.tar.gz
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 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 59ba23fecd5..3e9e186ce01 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -494,8 +494,8 @@ enum
/* needs size prefix if in 64-bit mode */
#define SIZE64 3
Size,
- /* check register size. */
- CheckRegSize,
+ /* Check that operand sizes match. */
+ CheckOperandSize,
/* any memory size */
#define ANY_SIZE 1
/* fake an extra reg operand for clr, imul and special register
@@ -740,7 +740,7 @@ typedef struct i386_opcode_modifier
unsigned int jump:3;
unsigned int floatmf:1;
unsigned int size:2;
- unsigned int checkregsize:1;
+ unsigned int checkoperandsize:1;
unsigned int operandconstraint:4;
unsigned int mnemonicsize:2;
unsigned int no_bsuf:1;