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

            Bug ID: 27266
           Summary: Check for lock prefix with an unlockable instruction
                    in opcode/i386-dis.c
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: lili.cui at intel dot com
  Target Milestone: ---

Examples showing the bug

$ cat a.s
.text
#lock prefetchit0 %rcx (illegal).
        .byte 0xf0
        .byte 0x0f
        .byte 0x18
        .byte 0x08

$ binary/bin/as a.s -o a.o
$ binary/bin/objdump -dw a.o

a.o:     file format elf64-x86-64
Disassembly of section .text:

0000000000000000 <.text>:
   0:   f0 0f 18 08             lock prefetcht0 (%rax)

Since prefetcht0 is an unlockable instruction, I think disassembler should
report "bad" for it.

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

Reply via email to