plug the intrinsics into the patterns for movmsk*
authorChris Lattner <sabre@nondot.org>
Fri, 24 Mar 2006 21:49:18 +0000 (21:49 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 24 Mar 2006 21:49:18 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27083 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index 2011f1e5a8fb3b46ce8a63b7181f9f81bd52605a..36ae14585bc0f02993c5350c6f7f6f2aa6038819 100644 (file)
@@ -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),