bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19685] New: vcmppd, vcmpps, vcmpsd, vcmpss disassembly is


From: jdetter at wisc dot edu
Subject: [Bug binutils/19685] New: vcmppd, vcmpps, vcmpsd, vcmpss disassembly is wrong
Date: Sat, 20 Feb 2016 01:07:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19685

            Bug ID: 19685
           Summary: vcmppd, vcmpps, vcmpsd, vcmpss disassembly is wrong
           Product: binutils
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: jdetter at wisc dot edu
  Target Milestone: ---

I compiled the following lines using GNU as:

  vcmppd $0x0, %xmm0, %xmm0, %xmm0
  vcmpps $0x0, %xmm0, %xmm0, %xmm0
  vcmpsd $0x0, %xmm0, %xmm0, %xmm0
  vcmpss $0x0, %xmm0, %xmm0, %xmm0

And the disassembly doesn't match. The mnemonics are wrong and objdump
interprets the instruction with 3 operands instead of 4:

  40049a:       c5 f9 c2 c0 00          vcmpeqpd %xmm0,%xmm0,%xmm0
  40049f:       c5 f8 c2 c0 00          vcmpeqps %xmm0,%xmm0,%xmm0
  4004a4:       c5 fb c2 c0 00          vcmpeqsd %xmm0,%xmm0,%xmm0
  4004a9:       c5 fa c2 c0 00          vcmpeqss %xmm0,%xmm0,%xmm0

Output from version:

address@hidden (31)$ objdump --version
GNU objdump (GNU Binutils) 2.26.20160125
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]