diff options
author | Craig Topper <craig.topper@intel.com> | 2018-04-22 00:52:02 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-04-22 00:52:02 +0000 |
commit | e33ed7d667c8daf22b544c77c6bbb6e919d2f3f0 (patch) | |
tree | 36569c51f38c780e4c58b848f4bda05189617940 /llvm/utils/TableGen/X86DisassemblerTables.cpp | |
parent | 2a58ca7dfe117bd3ac8f41deac573fd25399143d (diff) | |
download | bcm5719-llvm-e33ed7d667c8daf22b544c77c6bbb6e919d2f3f0.tar.gz bcm5719-llvm-e33ed7d667c8daf22b544c77c6bbb6e919d2f3f0.zip |
[X86] Remove DATA32_PREFIX. Hack the printing for DATA16_PREFIX to print 'data32' in 16-bit mode. Hack the asm parser to convert 'data32' to 'data16' in 16-bit mode.
Improve the error messages to match GNU assembler.
This also allows us to remove the hack from the disassembler table building.
llvm-svn: 330531
Diffstat (limited to 'llvm/utils/TableGen/X86DisassemblerTables.cpp')
-rw-r--r-- | llvm/utils/TableGen/X86DisassemblerTables.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/X86DisassemblerTables.cpp b/llvm/utils/TableGen/X86DisassemblerTables.cpp index 9c69abe1f3d..2b5cc127960 100644 --- a/llvm/utils/TableGen/X86DisassemblerTables.cpp +++ b/llvm/utils/TableGen/X86DisassemblerTables.cpp @@ -1088,10 +1088,6 @@ void DisassemblerTables::setTableFields(ModRMDecision &decision, newInfo.name == "XCHG64ar")) continue; // special case for XCHG*ar and NOOP - if (previousInfo.name == "DATA16_PREFIX" && - newInfo.name == "DATA32_PREFIX") - continue; // special case for data16 and data32 - if (outranks(previousInfo.insnContext, newInfo.insnContext)) continue; |