[Bug gas/20318] x86 Intel mode accepts invalid instructions

2016-07-01 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20318

Jan Beulich  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Jan Beulich  ---
Commit 83b16ac694.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/20318] x86 Intel mode accepts invalid instructions

2016-06-30 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20318

--- Comment #2 from Jan Beulich  ---
Not sure what you're trying to tell me here: The title clearly says this is an
issue in Intel mode only.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/20318] x86 Intel mode accepts invalid instructions

2016-06-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20318

--- Comment #1 from H.J. Lu  ---

.text
phadddb %xmm0, %xmm1
pha %xmm0, %xmm1
phadddl %xmm0, %xmm1
phadddld %xmm0, %xmm1
phadddq %xmm0, %xmm1
phaddds %xmm0, %xmm1
phadddw %xmm0, %xmm1
.intel_syntax noprefix
phadddb xmm0, xmm1
pha xmm0, xmm1
phadddl xmm0, xmm1
phadddld xmm0, xmm1
phadddq xmm0, xmm1
phaddds xmm0, xmm1
phadddw xmm0, xmm1


I got

y.s: Assembler messages:
y.s:2: Error: invalid instruction suffix for `phaddd'
y.s:3: Error: no such instruction: `pha %xmm0,%xmm1'
y.s:4: Error: invalid instruction suffix for `phaddd'
y.s:5: Error: no such instruction: `phadddld %xmm0,%xmm1'
y.s:6: Error: invalid instruction suffix for `phaddd'
y.s:7: Error: invalid instruction suffix for `phaddd'
y.s:8: Error: invalid instruction suffix for `phaddd'
y.s:12: Error: no such instruction: `phadddl xmm0,xmm1'
y.s:13: Error: no such instruction: `phadddld xmm0,xmm1'
y.s:15: Error: no such instruction: `phaddds xmm0,xmm1'

They fail under AT&T syntax with different error messages.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils