https://sourceware.org/bugzilla/show_bug.cgi?id=24700

            Bug ID: 24700
           Summary: objdump fails to reject invalid
                    vbroadcasti32x8/vbroadcasti64x4 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: ---

Similar to previously filed issue.

llvm-mc-7 seems to handle it correctly:

e.g.

echo '0x62 0xf2 0x7d 0x28 0x5b 0x41 0x37' | /usr/bin/llvm-mc-7 -disassemble
-triple=x86_64
        .text
<stdin>:1:1: warning: invalid instruction encoding
0x62 0xf2 0x7d 0x28 0x5b 0x41 0x37
^
<stdin>:1:26: warning: invalid instruction encoding
0x62 0xf2 0x7d 0x28 0x5b 0x41 0x37

The instruction only supports EVEX.L' == 0b1 && EVEX.L == 0b1.

objdump accepts it:

40048b:       62 f2 7d 28 5b 41 37    vbroadcasti32x8 0x370(%rcx),%ymm0

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

Reply via email to