aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-24 21:49:18 +0000
committerChris Lattner <sabre@nondot.org>2006-03-24 21:49:18 +0000
commitac53eadc29cbfa5da6700fef84dcc3cb1f6b31ce (patch)
tree0600ecf1aa2ebe94309e6e3e7654b9d79b5debc4
parent550525e3cf3a6ae60ccc7c6a6d82f83ab3ee0b84 (diff)
downloadexternal_llvm-ac53eadc29cbfa5da6700fef84dcc3cb1f6b31ce.zip
external_llvm-ac53eadc29cbfa5da6700fef84dcc3cb1f6b31ce.tar.gz
external_llvm-ac53eadc29cbfa5da6700fef84dcc3cb1f6b31ce.tar.bz2
plug the intrinsics into the patterns for movmsk*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27083 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86InstrSSE.td6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td
index 2011f1e..36ae145 100644
--- a/lib/Target/X86/X86InstrSSE.td
+++ b/lib/Target/X86/X86InstrSSE.td
@@ -470,9 +470,11 @@ def MOVHLPSrr : PSI<0x12, MRMSrcReg, (ops VR128:$dst, VR128:$src1, VR128:$src2),
}
def MOVMSKPSrr : PSI<0x50, MRMSrcReg, (ops R32:$dst, VR128:$src),
- "movmskps {$src, $dst|$dst, $src}", []>;
+ "movmskps {$src, $dst|$dst, $src}",
+ [(set R32:$dst, (int_x86_sse_movmskps VR128:$src))]>;
def MOVMSKPDrr : PSI<0x50, MRMSrcReg, (ops R32:$dst, VR128:$src),
- "movmskpd {$src, $dst|$dst, $src}", []>;
+ "movmskpd {$src, $dst|$dst, $src}",
+ [(set R32:$dst, (int_x86_sse2_movmskpd VR128:$src))]>;
// Conversion instructions
def CVTPI2PSrr : PSI<0x2A, MRMSrcReg, (ops VR128:$dst, VR64:$src),