aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-i386.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 27ffa3c..4d6a4bc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2020-06-08 Jan Beulich <jbeulich@suse.com>
+ * config/tc-i386.c (pi): Add checks for RegMask and RegBND.
+
+2020-06-08 Jan Beulich <jbeulich@suse.com>
+
* config/tc-i386.c (check_byte_reg): Drop dead conditional
around as_bad().
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index e0ebf80..15d6257 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -3198,10 +3198,12 @@ pi (const char *line, i386_insn *x)
if (x->types[j].bitfield.class == Reg
|| x->types[j].bitfield.class == RegMMX
|| x->types[j].bitfield.class == RegSIMD
+ || x->types[j].bitfield.class == RegMask
|| x->types[j].bitfield.class == SReg
|| x->types[j].bitfield.class == RegCR
|| x->types[j].bitfield.class == RegDR
- || x->types[j].bitfield.class == RegTR)
+ || x->types[j].bitfield.class == RegTR
+ || x->types[j].bitfield.class == RegBND)
fprintf (stdout, "%s\n", x->op[j].regs->reg_name);
if (operand_type_check (x->types[j], imm))
pe (x->op[j].imms);