[PATCH 1/3] x86: slightly simplify VPBROADCASTQ -> VUNPCKLQDQ optimization again
Jan Beulich <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
To fix eb4031cb20aa, c117ca0fc276 ("x86: Check XMM destination when
optimizing 128-bit VPBROADCASTQ") should merely have changed which operand
is checked for being Xmmword. Drop the excess check.
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -5825,7 +5825,6 @@ optimize_encoding (void)
&& i.operands == i.reg_operands
&& i.tm.opcode_modifier.vex
&& !(i.op[0].regs->reg_flags & RegRex)
- && i.op[0].regs->reg_type.bitfield.xmmword
&& i.op[1].regs->reg_type.bitfield.xmmword
&& pp.encoding != encoding_vex3)
{