From e33ed7d667c8daf22b544c77c6bbb6e919d2f3f0 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 22 Apr 2018 00:52:02 +0000 Subject: [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 --- llvm/utils/TableGen/X86DisassemblerTables.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/utils') 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; -- cgit v1.2.3