aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386-intel.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2017-12-18 09:36:14 +0100
committerJan Beulich <jbeulich@suse.com>2017-12-18 09:36:14 +0100
commit1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d (patch)
tree251683194a05f8a20ac48f8260147bf3e6af37bb /gas/config/tc-i386-intel.c
parentca0d63fe0703ed36af1a7bda6097958805895b3a (diff)
downloadgdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.zip
gdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.tar.gz
gdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.tar.bz2
x86: fold RegXMM/RegYMM/RegZMM into RegSIMD
... qualified by their respective sizes, allowing to drop FirstXmm0 at the same time.
Diffstat (limited to 'gas/config/tc-i386-intel.c')
-rw-r--r--gas/config/tc-i386-intel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c
index f0eac0f..70b518e 100644
--- a/gas/config/tc-i386-intel.c
+++ b/gas/config/tc-i386-intel.c
@@ -286,9 +286,9 @@ i386_intel_simplify_register (expressionS *e)
i.op[this_operand].regs = i386_regtab + reg_num;
}
else if (!intel_state.index
- && (i386_regtab[reg_num].reg_type.bitfield.regxmm
- || i386_regtab[reg_num].reg_type.bitfield.regymm
- || i386_regtab[reg_num].reg_type.bitfield.regzmm
+ && (i386_regtab[reg_num].reg_type.bitfield.xmmword
+ || i386_regtab[reg_num].reg_type.bitfield.ymmword
+ || i386_regtab[reg_num].reg_type.bitfield.zmmword
|| i386_regtab[reg_num].reg_num == RegRiz
|| i386_regtab[reg_num].reg_num == RegEiz))
intel_state.index = i386_regtab + reg_num;