[llvm-bugs] [Bug 34475] New: LOCK/REP/REPNE prefixes emitted as instruction on their own
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Sep 5 03:21:04 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34475
Bug ID: 34475
Summary: LOCK/REP/REPNE prefixes emitted as instruction on
their own
Product: libraries
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: kadircetinkaya.06.tr at gmail.com
CC: llvm-bugs at lists.llvm.org
readPrefixes in lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp treats
0xf0, 0xf2 and 0xf3 as instructions instead of prefixes, so
echo '0xf2 0xa4' | llvm-mc -disassemble
this one outputs
repne
movsb
as two separate instructions, while repne doesn't have a meaning without movsb.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170905/8c1f06af/attachment.html>
More information about the llvm-bugs
mailing list