https://sourceware.org/bugzilla/show_bug.cgi?id=23025
Bug ID: 23025
Summary: inconsistent disassemble of vcvtpd2dq
Product: binutils
Version: 2.30
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: herumi at nifty dot com
Target Milestone: ---
Created attachment 10930
--> https://sourceware.org/bugzilla/attachment.cgi?id=10930&action=edit
target binary for disassemble
objdump(version 2.3.0) shows inconsistent disassemble of vcvtpd2dq.
The results differ before and after the byte sequence 67 62 f1 ff 18 e6 40 04 .
% od -tx1 -Ax vcvtpd2dq.bin
000000 67 c5 fb e6 40 20 67 c5 ff e6 40 20 67 62 f1 ff
000010 18 e6 40 04 67 c5 fb e6 40 20 67 c5 ff e6 40 20
% objdump -M x86-64 -D -b binary -m i386 vcvtpd2dq.bin
vcvtpd2dq.bin: file format binary
Disassembly of section .data:
00000000 <.data>:
0: 67 c5 fb e6 40 20 vcvtpd2dqx 0x20(%eax),%xmm0 ; (X)
6: 67 c5 ff e6 40 20 vcvtpd2dqy 0x20(%eax),%xmm0 ; (Y)
c: 67 62 f1 ff 18 e6 40 vcvtpd2dq 0x20(%eax){1to2},%xmm0 ; (Z)
13: 04
14: 67 c5 fb e6 40 20 vcvtpd2dq 0x20(%eax),%xmm0 ; (X')
1a: 67 c5 ff e6 40 20 vcvtpd2dq 0x20(%eax),%xmm0 ; (Y')
The results for (X) and (X'), for (Y) and (Y') should be same.
Strangely, the results are correct if the byte sequence for (Z) is omitted.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils