25 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-- -mcpu=penryn | FileCheck %s3 4define <4 x float> @foo(ptr %p, <4 x float> %x) nounwind {5; CHECK-LABEL: foo:6; CHECK: # %bb.0:7; CHECK-NEXT: movups (%rdi), %xmm18; CHECK-NEXT: mulps %xmm1, %xmm09; CHECK-NEXT: retq10 %t = load <4 x float>, ptr %p, align 411 %z = fmul <4 x float> %t, %x12 ret <4 x float> %z13}14 15define <2 x double> @bar(ptr %p, <2 x double> %x) nounwind {16; CHECK-LABEL: bar:17; CHECK: # %bb.0:18; CHECK-NEXT: movupd (%rdi), %xmm119; CHECK-NEXT: mulpd %xmm1, %xmm020; CHECK-NEXT: retq21 %t = load <2 x double>, ptr %p, align 822 %z = fmul <2 x double> %t, %x23 ret <2 x double> %z24}25