llvm-project/llvm/lib/Target/X86/Disassembler
Douglas Katzman fcda6f8c6b [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 What year is it! This file has no reason to be written in C, and has doubly no 2014-04-20 21:07:34 +00:00
LLVMBuild.txt Finish inverting the MC -> Object dependency. 2014-07-23 22:26:07 +00:00
Makefile Appease autoconf build since X86Disassembler.c has been disappeared in r206717. 2014-04-21 14:59:11 +00:00
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