x86: also handle %k<N> and %bnd<N> in debugging helpers
authorJan Beulich <jbeulich@suse.com>
Mon, 8 Jun 2020 06:40:58 +0000 (08:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Jun 2020 06:40:58 +0000 (08:40 +0200)
Adjustment of this function was missed when support for the respective
registers was added.

gas/ChangeLog
gas/config/tc-i386.c

index 27ffa3c52b829caa4c362d9de12d076a980a0c3e..4d6a4bcd271980f95ffd146ec2c114baab397f01 100644 (file)
@@ -1,3 +1,7 @@
+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
index e0ebf80d8aaa8977b56a77f05ae53aed8c79d5dd..15d6257b35b1601890e26ee7235732ed87023f73 100644 (file)
@@ -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);
This page took 0.030844 seconds and 4 git commands to generate.