• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=x86-64 -mcpu=penryn | FileCheck %s
2
3define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind {
4  %t = load <4 x float>, <4 x float>* %p, align 4
5  %z = fmul <4 x float> %t, %x
6  ret <4 x float> %z
7}
8
9; CHECK-LABEL: foo:
10; CHECK: movups
11; CHECK: ret
12
13define <2 x double> @bar(<2 x double>* %p, <2 x double> %x) nounwind {
14  %t = load <2 x double>, <2 x double>* %p, align 8
15  %z = fmul <2 x double> %t, %x
16  ret <2 x double> %z
17}
18
19; CHECK-LABEL: bar:
20; CHECK: movupd
21; CHECK: ret
22