diff options
| author | Craig Topper <craig.topper@gmail.com> | 2012-08-01 07:39:18 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2012-08-01 07:39:18 +0000 |
| commit | b8aec0881901d33a7bc7d4d93255127e655cf253 (patch) | |
| tree | 13ae30cd45010d3fbc53ee645014ff74681b74cb /llvm/utils/TableGen/X86DisassemblerShared.h | |
| parent | 13a39c6f549f36391e583c53a654bfaa089e1933 (diff) | |
| download | bcm5719-llvm-b8aec0881901d33a7bc7d4d93255127e655cf253.tar.gz bcm5719-llvm-b8aec0881901d33a7bc7d4d93255127e655cf253.zip | |
Add more indirection to the disassembler tables to reduce amount of space used to store the operand types and encodings. Store only the unique combinations in a separate table and store indices in the instruction table. Saves about 32K of static data.
llvm-svn: 161101
Diffstat (limited to 'llvm/utils/TableGen/X86DisassemblerShared.h')
| -rw-r--r-- | llvm/utils/TableGen/X86DisassemblerShared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/X86DisassemblerShared.h b/llvm/utils/TableGen/X86DisassemblerShared.h index 0417e9dece4..c13a0cc467e 100644 --- a/llvm/utils/TableGen/X86DisassemblerShared.h +++ b/llvm/utils/TableGen/X86DisassemblerShared.h @@ -14,6 +14,7 @@ #include <string.h> #define INSTRUCTION_SPECIFIER_FIELDS \ + struct OperandSpecifier operands[X86_MAX_OPERANDS]; \ bool filtered; \ InstructionContext insnContext; \ std::string name; \ |

