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: unassignedb...@nondot.org
Reporter: kadircetinkaya.06...@gmail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs