summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2014-01-20 12:02:53 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2014-01-20 12:02:53 +0000
commitcaaa2850c0e044bf96b2bfdea70dff40f10d6e85 (patch)
treea8beb6f821efa3f67a97d75c4649037c02795662 /llvm/utils/TableGen/X86RecognizableInstr.cpp
parent9c74fdb8b9bc414916a1396b73a0addb27c12f66 (diff)
downloadbcm5719-llvm-caaa2850c0e044bf96b2bfdea70dff40f10d6e85.tar.gz
bcm5719-llvm-caaa2850c0e044bf96b2bfdea70dff40f10d6e85.zip
[x86] Fix disassembly of MOV16ao16 et al.
The addition of IC_OPSIZE_ADSIZE in r198759 wasn't quite complete. It also turns out to have been unnecessary. The disassembler handles the AdSize prefix for itself, and doesn't care about the difference between (e.g.) MOV8ao8 and MOB8ao8_16 definitions. So just let them coexist and don't worry about it. llvm-svn: 199654
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index 019610e1471..c09abefeef6 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp
@@ -468,8 +468,6 @@ InstructionContext RecognizableInstr::insnContext() const {
else if (HasOpSizePrefix &&
(Prefix == X86Local::XS || Prefix == X86Local::T8XS))
insnContext = IC_XS_OPSIZE;
- else if (HasOpSizePrefix && HasAdSizePrefix)
- insnContext = IC_OPSIZE_ADSIZE;
else if (HasOpSizePrefix || Prefix == X86Local::PD ||
Prefix == X86Local::T8PD || Prefix == X86Local::TAPD)
insnContext = IC_OPSIZE;
OpenPOWER on IntegriCloud