summaryrefslogtreecommitdiff
path: root/utils/TableGen/X86DisassemblerTables.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-02-19 05:34:21 +0000
committerCraig Topper <craig.topper@gmail.com>2014-02-19 05:34:21 +0000
commit82a644adf2c1241e02ff820c496314da33a3c821 (patch)
treeb1870b03f2b63aee48b57c16f95e5eb17e0be317 /utils/TableGen/X86DisassemblerTables.h
parentb7e1ab795944263b663593085f7fee404f72475f (diff)
downloadllvm-82a644adf2c1241e02ff820c496314da33a3c821.tar.gz
llvm-82a644adf2c1241e02ff820c496314da33a3c821.tar.bz2
llvm-82a644adf2c1241e02ff820c496314da33a3c821.tar.xz
Remove A6/A7 opcode maps. They can all be handled with a TB map, opcode of 0xa6/0xa7, and adding MRM_C0/MRM_E0 forms. Removes 376K from the disassembler tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/X86DisassemblerTables.h')
-rw-r--r--utils/TableGen/X86DisassemblerTables.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/utils/TableGen/X86DisassemblerTables.h b/utils/TableGen/X86DisassemblerTables.h
index bf8b1271e9..1327375f79 100644
--- a/utils/TableGen/X86DisassemblerTables.h
+++ b/utils/TableGen/X86DisassemblerTables.h
@@ -38,12 +38,10 @@ private:
/// [1] two-byte opcodes of the form 0f __
/// [2] three-byte opcodes of the form 0f 38 __
/// [3] three-byte opcodes of the form 0f 3a __
- /// [4] three-byte opcodes of the form 0f a6 __
- /// [5] three-byte opcodes of the form 0f a7 __
- /// [6] XOP8 map opcode
- /// [7] XOP9 map opcode
- /// [8] XOPA map opcode
- ContextDecision* Tables[9];
+ /// [4] XOP8 map opcode
+ /// [5] XOP9 map opcode
+ /// [6] XOPA map opcode
+ ContextDecision* Tables[7];
// Table of ModRM encodings.
typedef std::map<std::vector<unsigned>, unsigned> ModRMMapTy;
@@ -132,8 +130,7 @@ private:
/// }
///
/// NAME is the name of the ContextDecision (typically one of the four names
- /// ONEBYTE_SYM, TWOBYTE_SYM, THREEBYTE38_SYM, THREEBYTE3A_SYM,
- /// THREEBYTEA6_SYM, and THREEBYTEA7_SYM from
+ /// ONEBYTE_SYM, TWOBYTE_SYM, THREEBYTE38_SYM, THREEBYTE3A_SYM from
/// X86DisassemblerDecoderCommon.h).
/// IC is one of the contexts in InstructionContext. There is an opcode
/// decision for each possible context.