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 | e2347df24dc1cf27f85b04a5ac3245b0a389651a (patch) | |
| tree | 18e18482f64739d8e62a3967b798967d4082b024 /llvm/utils | |
| parent | 0f56a7185979f55600c7f7ba8d68b9d8a3c03b8f (diff) | |
| download | bcm5719-llvm-e2347df24dc1cf27f85b04a5ac3245b0a389651a.tar.gz bcm5719-llvm-e2347df24dc1cf27f85b04a5ac3245b0a389651a.zip | |
[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.
llvm-svn: 201767
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/TableGen/X86RecognizableInstr.cpp | 3 | ||||
| -rw-r--r-- | llvm/utils/TableGen/X86RecognizableInstr.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp index 0ebdd592b13..9ea0bf7abcc 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.cpp +++ b/llvm/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/llvm/utils/TableGen/X86RecognizableInstr.h b/llvm/utils/TableGen/X86RecognizableInstr.h index 5866566ac02..77286bc4336 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.h +++ b/llvm/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 |

