https://sourceware.org/bugzilla/show_bug.cgi?id=31219
Bug ID: 31219
Summary: Incorrect disassembly for x86 ADCX instructions with
-M suffix
Product: binutils
Version: 2.41
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: maratek at gmail dot com
Target Milestone: ---
adcxl is disassembled into adcxw when objdump disassembler is invoked with -M
suffix option.
$ cat > test.s << EOF
> .text
> adcxl %ecx, %edx
> EOF
$ as -o test.o test.s
$ objdump -M suffix -j .text -d test.o
test.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <.text>:
0: 66 0f 38 f6 d1 adcxw %ecx,%edx
This probably happens because ADCX instruction has a mandatory 0x66 prefix
which is interpreted as an operand size override prefix.
--
You are receiving this mail because:
You are on the CC list for the bug.