Rather than reporting 'suffix or operands invalid ...' on all three instructions
when there is no operand size specifier on the memory operand, 'ambiguous
operand size ...' should be reported - the former message implies that a memory
operand may not be used at all here:

.intel_syntax noprefix
.text
Start:
        vcvtpd2dq xmm0, [ecx]
        vcvtpd2ps xmm0, [ecx]
        vcvttpd2dq xmm0, [ecx]

-- 
           Summary: wrong diagnostic for vcvtpd2dq/vcvtpd2ps/vcvttpd2dq
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: jbeulich at novell dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=6518

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to