1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +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
X86DisassemblerDecoder.cpp [X86] Simplify some stuff in X86DisassemblerDecoder. NFC 2015-06-24 22:04:55 +00:00
X86DisassemblerDecoder.h
X86DisassemblerDecoderCommon.h X86-MPX: Implemented encoding for MPX instructions. 2015-06-09 13:02:10 +00:00