aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrInfo.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2012-09-26 08:22:37 +0000
committerMichael Liao <michael.liao@intel.com>2012-09-26 08:22:37 +0000
commit0832a72a662043efad72f090023a19156974fc0c (patch)
tree142437d65ba83a4d47c0c26434b489674d552f10 /lib/Target/X86/X86InstrInfo.cpp
parentc7c42f71aad7d33892de73d6d6397e38814b0e97 (diff)
downloadexternal_llvm-0832a72a662043efad72f090023a19156974fc0c.zip
external_llvm-0832a72a662043efad72f090023a19156974fc0c.tar.gz
external_llvm-0832a72a662043efad72f090023a19156974fc0c.tar.bz2
Add MULX code generation support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.cpp')
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index 820ac06..f575e80 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -1140,6 +1140,10 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
{ X86::VFMSUBADDPD4rr, X86::VFMSUBADDPD4mr, TB_ALIGN_16 },
{ X86::VFMSUBADDPS4rrY, X86::VFMSUBADDPS4mrY, TB_ALIGN_32 },
{ X86::VFMSUBADDPD4rrY, X86::VFMSUBADDPD4mrY, TB_ALIGN_32 },
+
+ // BMI/BMI2 foldable instructions
+ { X86::MULX32rr, X86::MULX32rm, 0 },
+ { X86::MULX64rr, X86::MULX64rm, 0 },
};
for (unsigned i = 0, e = array_lengthof(OpTbl2); i != e; ++i) {