[EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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'
[EMAIL PROTECTED] 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.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils