[binutils-gdb] x86: correct {,V}PEXTR{D,Q} optimization
Jan Beulich
jbeulich@sourceware.org
Fri Sep 27 09:23:24 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0fcb4bfcd40d8d35ac76555a64cf4d6fcc07d0b8
commit 0fcb4bfcd40d8d35ac76555a64cf4d6fcc07d0b8
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Sep 27 11:20:37 2024 +0200
x86: correct {,V}PEXTR{D,Q} optimization
A possible relocation associated with a memory operand also needs
moving.
Diff:
---
gas/config/tc-i386.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index dcb660b005d..23d75d7644b 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -5545,6 +5545,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-cvs
mailing list