https://sourceware.org/bugzilla/show_bug.cgi?id=24691
Bug ID: 24691
Summary: gas/objdump fail to reject invalid vshuff*/vshufi*
encodings.
Product: binutils
Version: 2.32
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hgreving at google dot com
Target Milestone: ---
lvm-mc-7 seems to handle it correctly:
e.g.
echo "0x62 0xf3 0x75 0x08 0x23 0xc2 0x25" | /usr/bin/llvm-mc-7 -disassemble
-triple=x86_64
.text
<stdin>:1:1: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
^
<stdin>:1:26: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
^
<stdin>:1:31: warning: invalid instruction encoding
0x62 0xf3 0x75 0x08 0x23 0xc2 0x25
^
Should be (e.g. from binutils)
objdump -d test | grep shuf
5fe: 62 f3 75 08 23 c2 25 vshuff32x4 $0x25,%xmm2,%xmm1,%xmm0
According to Intel's Spec., either EVEX.L or .L' needs to be set.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils