[x86] Implement a faster vector population count based on the PSHUFB
[oota-llvm.git] / test / CodeGen / X86 / 2007-01-08-InstrSched.ll
index 317ed0a4f7d37916913aa0572b3c82cf0bd47a87..4ec703921e29fab62cd34a63a6265de463978cbc 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1075
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -O3 | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-apple-darwin -O3 | FileCheck %s
 
 define float @foo(float %x) nounwind {
     %tmp1 = fmul float %x, 3.000000e+00
@@ -11,12 +11,12 @@ define float @foo(float %x) nounwind {
     %tmp14 = fadd float %tmp12, %tmp7
     ret float %tmp14
 
-; CHECK:      mulss    LCPI1_3(%rip)
-; CHECK-NEXT: mulss    LCPI1_0(%rip)
-; CHECK-NEXT: mulss    LCPI1_1(%rip)
-; CHECK-NEXT: mulss    LCPI1_2(%rip)
-; CHECK-NEXT: addss
-; CHECK-NEXT: addss
-; CHECK-NEXT: addss
-; CHECK-NEXT: ret
+; CHECK: mulss
+; CHECK: mulss
+; CHECK: mulss
+; CHECK: mulss
+; CHECK: addss
+; CHECK: addss
+; CHECK: addss
+; CHECK: ret
 }