[PATCH 1/5] x86: correct {,V}PEXTR{D,Q} optimization
Jan Beulich
jbeulich@suse.com
Fri Sep 6 11:51:53 GMT 2024
A possible relocation associated with a memory operand also needs
moving.
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -5503,6 +5503,7 @@ optimize_encoding (void)
i.op[1].regs = i.op[2].regs;
i.types[1] = i.types[2];
i.flags[1] = i.flags[2];
+ i.reloc[1] = i.reloc[2];
i.tm.operand_types[1] = i.tm.operand_types[2];
i.operands = 2;
More information about the Binutils
mailing list