diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-13 00:41:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-13 00:41:14 +0000 |
commit | 140caa724010943d81b5a8a17ccc408fc0130b6d (patch) | |
tree | d7e3337b21b64ec12d8aba2f84816ce1e39416bc /llvm/utils/TableGen/X86RecognizableInstr.cpp | |
parent | 01abf8fc2fc93c317f5f89e36c8999565b0dd7d8 (diff) | |
download | bcm5719-llvm-140caa724010943d81b5a8a17ccc408fc0130b6d.tar.gz bcm5719-llvm-140caa724010943d81b5a8a17ccc408fc0130b6d.zip |
remove special cases for vmlaunch, vmresume, vmxoff, and swapgs
fix swapgs to be spelled right.
llvm-svn: 96058
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r-- | llvm/utils/TableGen/X86RecognizableInstr.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp index f53927ded7c..5c2bf772b70 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.cpp +++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp @@ -26,10 +26,14 @@ using namespace llvm; #define MRM_MAPPING \ MAP(C1, 33) \ - MAP(C8, 34) \ - MAP(C9, 35) \ - MAP(E8, 36) \ - MAP(F0, 37) + MAP(C2, 34) \ + MAP(C3, 35) \ + MAP(C4, 36) \ + MAP(C8, 37) \ + MAP(C9, 38) \ + MAP(E8, 39) \ + MAP(F0, 40) \ + MAP(F8, 41) // A clone of X86 since we can't depend on something that is generated. namespace X86Local { @@ -591,12 +595,8 @@ void RecognizableInstr::emitDecodePath(DisassemblerTables &tables) const { return; \ } - EXACTCASE(TWOBYTE, "SWPGS", 0xf8) EXACTCASE(TWOBYTE, "INVEPT", 0x80) EXACTCASE(TWOBYTE, "INVVPID", 0x81) - EXACTCASE(TWOBYTE, "VMLAUNCH", 0xc2) - EXACTCASE(TWOBYTE, "VMRESUME", 0xc3) - EXACTCASE(TWOBYTE, "VMXOFF", 0xc4) if (Name == "INVLPG") { tables.setTableFields(TWOBYTE, |