This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/23028] New: inconsistent disassemble of vcvtpd2dq
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 04 Apr 2018 15:05:23 +0000
- Subject: [Bug gdb/23028] New: inconsistent disassemble of vcvtpd2dq
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23028
Bug ID: 23028
Summary: inconsistent disassemble of vcvtpd2dq
Product: gdb
Version: 8.1
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
[hjl@gnu-cfl-1 binutils]$ cat z.s
.text
foo:
vcvtpd2dqx 0x20(%rax),%xmm0
vcvtpd2dq 0x20(%rax){1to2},%xmm0
vcvtpd2dqx 0x20(%rax),%xmm0
[hjl@gnu-cfl-1 binutils]$ gcc -c z.s
[hjl@gnu-cfl-1 binutils]$ gdb z.o
GNU gdb (GDB) Fedora 8.0.1-36.2.fc27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from z.o...(no debugging symbols found)...done.
(gdb) disass foo
Dump of assembler code for function foo:
0x0000000000000000 <+0>: vcvtpd2dqx 0x20(%rax),%xmm0
0x0000000000000005 <+5>: vcvtpd2dq 0x20(%rax){1to2},%xmm0
0x000000000000000c <+12>: vcvtpd2dq 0x20(%rax),%xmm0
^^^^^^^^^^ This should be vcvtpd2dqx.
End of assembler dump.
(gdb)
[hjl@gnu-cfl-1 binutils]$ objdump -dw z.o
z.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <foo>:
0: c5 fb e6 40 20 vcvtpd2dqx 0x20(%rax),%xmm0
5: 62 f1 ff 18 e6 40 04 vcvtpd2dq 0x20(%rax){1to2},%xmm0
c: c5 fb e6 40 20 vcvtpd2dqx 0x20(%rax),%xmm0
[hjl@gnu-cfl-1 binutils]$
--
You are receiving this mail because:
You are on the CC list for the bug.