[binutils-gdb] x86: slightly simplify VPBROADCASTQ -> VUNPCKLQDQ optimization again
Jan Beulich via Binutils-cvs <[email protected]> Fri, 24 Jul 2026 06:25:42 +0000 (GMT)
| Newsgroups | gmane.comp.gnu.binutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D333fb2dac903= a18fe87eefa932aa87fc6878b630 commit 333fb2dac903a18fe87eefa932aa87fc6878b630 Author: Jan Beulich <[email protected]> Date: Fri Jul 24 08:23:06 2026 +0200 x86: slightly simplify VPBROADCASTQ -> VUNPCKLQDQ optimization again =20 To fix eb4031cb20aa, c117ca0fc276 ("x86: Check XMM destination when optimizing 128-bit VPBROADCASTQ") should merely have changed which oper= and is checked for being Xmmword. Drop the excess check. Diff: --- gas/config/tc-i386.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 92771c3ca15..7ace19e4a9e 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -5828,7 +5828,6 @@ optimize_encoding (void) && i.operands =3D=3D 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 !=3D encoding_vex3) {