bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27266] New: Check for lock prefix with an unlockable instr


From: lili.cui at intel dot com
Subject: [Bug binutils/27266] New: Check for lock prefix with an unlockable instruction in opcode/i386-dis.c
Date: Thu, 28 Jan 2021 10:05:48 +0000

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

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