diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-28 23:46:44 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-28 23:46:44 +0000 |
commit | da474adb2117ac1647348aa381a95c7b6e1fb524 (patch) | |
tree | 08f24219561e486d2be002309fc938fdea56f03e /lib/Target/X86/InstSelectSimple.cpp | |
parent | 8e475b8cfdd3c7a86afa6aa21326c7bad0be7f02 (diff) |
SHLD and SHRD take 32-bit operands but an 8-bit immediate. Rename them
to denote this fact.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r-- | lib/Target/X86/InstSelectSimple.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 2631114446..9a78016f72 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -1776,10 +1776,10 @@ void ISel::emitShiftOperation(MachineBasicBlock *MBB, unsigned Class = getClass (ResultTy); static const unsigned ConstantOperand[][4] = { - { X86::SHRri8, X86::SHRri16, X86::SHRri32, X86::SHRDrri32 }, // SHR - { X86::SARri8, X86::SARri16, X86::SARri32, X86::SHRDrri32 }, // SAR - { X86::SHLri8, X86::SHLri16, X86::SHLri32, X86::SHLDrri32 }, // SHL - { X86::SHLri8, X86::SHLri16, X86::SHLri32, X86::SHLDrri32 }, // SAL = SHL + { X86::SHRri8, X86::SHRri16, X86::SHRri32, X86::SHRDrr32i8 }, // SHR + { X86::SARri8, X86::SARri16, X86::SARri32, X86::SHRDrr32i8 }, // SAR + { X86::SHLri8, X86::SHLri16, X86::SHLri32, X86::SHLDrr32i8 }, // SHL + { X86::SHLri8, X86::SHLri16, X86::SHLri32, X86::SHLDrr32i8 }, // SAL = SHL }; static const unsigned NonConstantOperand[][4] = { |