brintos

brintos / llvm-project-archived public Read only

0
0
Text · 796 B · 3814865 Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-- -mattr=+sse2,-mmx | FileCheck %s3 4; Test that turning off mmx doesn't turn off sse5 6define void @test1(ptr %r, ptr %A, double %B) nounwind  {7; CHECK-LABEL: test1:8; CHECK:       # %bb.0:9; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax10; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %ecx11; CHECK-NEXT:    movaps (%ecx), %xmm012; CHECK-NEXT:    movlps {{.*#+}} xmm0 = mem[0,1],xmm0[2,3]13; CHECK-NEXT:    movaps %xmm0, (%eax)14; CHECK-NEXT:    retl15	%tmp3 = load <2 x double>, ptr %A, align 1616	%tmp7 = insertelement <2 x double> undef, double %B, i32 017	%tmp9 = shufflevector <2 x double> %tmp3, <2 x double> %tmp7, <2 x i32> < i32 2, i32 1 >18	store <2 x double> %tmp9, ptr %r, align 1619	ret void20}21