diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-02-20 07:59:43 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-02-20 07:59:43 +0000 |
commit | 46aa7fb72043a976f0a27d45e91895407d47fc7e (patch) | |
tree | aff267d2adece99f4f8d10974fe537c22cde104d /utils | |
parent | 9ff2b336743dfb22ef9db025c1b05674b9c35086 (diff) | |
download | llvm-46aa7fb72043a976f0a27d45e91895407d47fc7e.tar.gz llvm-46aa7fb72043a976f0a27d45e91895407d47fc7e.tar.bz2 llvm-46aa7fb72043a976f0a27d45e91895407d47fc7e.tar.xz |
[x86] Switch PAUSE instruction to use XS prefix instead of HasREPPrefix. Remove HasREPPrefix support from disassembler table generator since its now only used by CodeGenOnly instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/X86RecognizableInstr.cpp | 3 | ||||
-rw-r--r-- | utils/TableGen/X86RecognizableInstr.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp index 0ebdd592b1..9ea0bf7abc 100644 --- a/utils/TableGen/X86RecognizableInstr.cpp +++ b/utils/TableGen/X86RecognizableInstr.cpp @@ -203,7 +203,6 @@ RecognizableInstr::RecognizableInstr(DisassemblerTables &tables, HasEVEX_K = Rec->getValueAsBit("hasEVEX_K"); HasEVEX_KZ = Rec->getValueAsBit("hasEVEX_Z"); HasEVEX_B = Rec->getValueAsBit("hasEVEX_B"); - HasREPPrefix = Rec->getValueAsBit("hasREPPrefix"); IsCodeGenOnly = Rec->getValueAsBit("isCodeGenOnly"); ForceDisassemble = Rec->getValueAsBit("ForceDisassemble"); @@ -433,7 +432,7 @@ InstructionContext RecognizableInstr::insnContext() const { insnContext = IC_ADSIZE; else if (OpPrefix == X86Local::XD) insnContext = IC_XD; - else if (OpPrefix == X86Local::XS || HasREPPrefix) + else if (OpPrefix == X86Local::XS) insnContext = IC_XS; else insnContext = IC; diff --git a/utils/TableGen/X86RecognizableInstr.h b/utils/TableGen/X86RecognizableInstr.h index 5866566ac0..77286bc433 100644 --- a/utils/TableGen/X86RecognizableInstr.h +++ b/utils/TableGen/X86RecognizableInstr.h @@ -74,8 +74,6 @@ private: bool HasEVEX_KZ; /// The hasEVEX_B field from the record bool HasEVEX_B; - /// The hasREPPrefix field from the record - bool HasREPPrefix; /// The isCodeGenOnly field from the record bool IsCodeGenOnly; /// The ForceDisassemble field from the record |