1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/lib/Target/X86/Disassembler
Douglas Katzman 73a319e633 [X86] Simplify some stuff in X86DisassemblerDecoder. NFC
- Deciding that insn->sibIndex is SIB_INDEX_NONE does not require another
check beyond the fully decoded bits being equal to 0x4.
The expression insn->sibIndex == SIB_INDEX_sib could not have been true unless
index were 0x4, because SIB_INDEX_sib is merely the range base (SIB_INDEX_EAX)
plus 4. Respectively SIB_INDEX_sib64.

- Don't use a switch statement to perform left-shift.

Differential Revision: http://reviews.llvm.org/D9762

llvm-svn: 240598
2015-06-24 22:04:55 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
X86Disassembler.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
X86Disassembler.h Pass an ArrayRef to MCDisassembler::getInstruction. 2014-11-12 02:04:27 +00:00
X86DisassemblerDecoder.cpp [X86] Simplify some stuff in X86DisassemblerDecoder. NFC 2015-06-24 22:04:55 +00:00
X86DisassemblerDecoder.h [X86] Add the debug registers DR8-DR15 so we can assemble and disassemble references to them. 2014-12-26 18:20:05 +00:00
X86DisassemblerDecoderCommon.h X86-MPX: Implemented encoding for MPX instructions. 2015-06-09 13:02:10 +00:00