diff options
author | Sean Callanan <scallanan@apple.com> | 2009-12-22 21:12:55 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2009-12-22 21:12:55 +0000 |
commit | 7fb35a2fd83f5deadefcb230669b07e1d5b98137 (patch) | |
tree | e1eea55b6015127f6feed0c7c2e10795762d26d1 /utils/TableGen/X86RecognizableInstr.cpp | |
parent | 4935a02101353bb317dd178230e9e76fc0f975ef (diff) |
Fixes to the X86 disassembler:
Made LEA memory operands emit only 4 MCInst operands.
Made the scale operand equal 1 for instructions that have no
SIB byte.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r-- | utils/TableGen/X86RecognizableInstr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp index edc75e63d2..2b6e30d93d 100644 --- a/utils/TableGen/X86RecognizableInstr.cpp +++ b/utils/TableGen/X86RecognizableInstr.cpp @@ -817,9 +817,9 @@ OperandType RecognizableInstr::typeFromString(const std::string &s, TYPE("brtarget", TYPE_RELv) TYPE("brtarget8", TYPE_REL8) TYPE("f80mem", TYPE_M80FP) - TYPE("lea32mem", TYPE_M32) - TYPE("lea64_32mem", TYPE_M64) - TYPE("lea64mem", TYPE_M64) + TYPE("lea32mem", TYPE_LEA) + TYPE("lea64_32mem", TYPE_LEA) + TYPE("lea64mem", TYPE_LEA) TYPE("VR64", TYPE_MM64) TYPE("i64imm", TYPE_IMMv) TYPE("opaque32mem", TYPE_M1616) |