The following input causes gas to complain:

.intel_syntax noprefix
 cvttsd2si eax, QWORD PTR [rsp]

{standard input}: Assembler messages:
{standard input}:2: Error: Incorrect register `eax' used with `q' suffix

GAS wants a DWORD PTR operand, but that's not correct because the memory operand
is 64-bit floating point operand.

-- 
           Summary: Error: Incorrect register `eax' used with `q' suffix
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: rask at sygehus dot dk
                CC: bug-binutils at gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


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

------- 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