[llvm-bugs] [Bug 34475] New: LOCK/REP/REPNE prefixes emitted as instruction on their own
llvm-bugs at lists.llvm.org
Tue Sep 5 03:21:04 PDT 2017
Bug ID: 34475
Summary: LOCK/REP/REPNE prefixes emitted as instruction on
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
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...
More information about the llvm-bugs