Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -relocation-model=static -march=x86 -mcpu=yonah | FileCheck %s
      2 ; RUN: llc < %s -relocation-model=static -march=x86 -mcpu=yonah | FileCheck -check-prefix CHECK2 %s
      3 ; 64-bit stores here do not use MMX.
      4 
      5 ; CHECK: xorps
      6 ; CHECK-NOT: xorps
      7 
      8 ; CHECK2: pcmpeqd
      9 ; CHECK2-NOT: pcmpeqd
     10 
     11 @M1 = external global <1 x i64>
     12 @M2 = external global <2 x i32>
     13 
     14 @S1 = external global <2 x i64>
     15 @S2 = external global <4 x i32>
     16 
     17 define void @test() {
     18   store <1 x i64> zeroinitializer, <1 x i64>* @M1
     19   store <2 x i32> zeroinitializer, <2 x i32>* @M2
     20   ret void
     21 }
     22 
     23 define void @test2() {
     24   store <1 x i64> < i64 -1 >, <1 x i64>* @M1
     25   store <2 x i32> < i32 -1, i32 -1 >, <2 x i32>* @M2
     26   ret void
     27 }
     28 
     29 define void @test3() {
     30   store <2 x i64> zeroinitializer, <2 x i64>* @S1
     31   store <4 x i32> zeroinitializer, <4 x i32>* @S2
     32   ret void
     33 }
     34 
     35 define void @test4() {
     36   store <2 x i64> < i64 -1, i64 -1>, <2 x i64>* @S1
     37   store <4 x i32> < i32 -1, i32 -1, i32 -1, i32 -1 >, <4 x i32>* @S2
     38   ret void
     39 }
     40 
     41 
     42