bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/5534] New: "XXX PTR" isn't checked properly in Intel syntax


From: hjl at lucon dot org
Subject: [Bug gas/5534] New: "XXX PTR" isn't checked properly in Intel syntax
Date: 2 Jan 2008 20:47:55 -0000

address@hidden memory-5]$ cat y.s
        .text
        .intel_syntax noprefix
        movq xmm1, XMMWORD PTR [rsp]
        movq xmm1, DWORD PTR [rsp]
        movq xmm1, WORD PTR [rsp]
        movq xmm1, BYTE PTR [rsp]

        movq XMMWORD PTR [rsp],xmm1
        movq DWORD PTR [rsp],xmm1
        movq WORD PTR [rsp],xmm1
        movq BYTE PTR [rsp],xmm1
address@hidden memory-5]$ as -o y.o y.s
y.s: Assembler messages:
y.s:6: Error: `xmm1' not allowed with `movqb'
y.s:11: Error: `xmm1' not allowed with `movqb'
address@hidden memory-5]$ 

There are 2 problems:

1. All those instructions should be invalid.
2. There is `movqb' in input.

-- 
           Summary: "XXX PTR" isn't checked properly in Intel syntax
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl at lucon dot org
                CC: bug-binutils at gnu dot org


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

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




reply via email to

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