bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24719] New: objdump fails to reject invalid scatter/gather


From: hgreving at google dot com
Subject: [Bug binutils/24719] New: objdump fails to reject invalid scatter/gather prefetch instructions
Date: Fri, 21 Jun 2019 17:59:32 +0000

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

            Bug ID: 24719
           Summary: objdump fails to reject invalid scatter/gather
                    prefetch instructions
           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 0x0f 0xc6 0x4c 0x71 0x35" | /usr/bin/llvm-mc-7
-disassemble -triple=x86_64                                                     
        .text
<stdin>:1:1: warning: invalid instruction encoding
0x62 0xf2 0x7d 0x0f 0xc6 0x4c 0x71 0x35

The prefetch opcodes accept only certain vsib index sizes, e.g. vgatherpf0dps
only vm32z.

objdump accepts it:

[..]
objdump -d a.out
0:   62 f2 7d 0f c6 4c 71    vgatherpf0dps 0xd4(%rcx,%xmm6,2){%k7}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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