[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / X86 / illegal-vector-args-return.ll
1 ; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "mulpd     %xmm3, %xmm1"
2 ; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "mulpd     %xmm2, %xmm0"
3 ; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "addps     %xmm3, %xmm1"
4 ; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "addps     %xmm2, %xmm0"
5
6 target triple = "i686-apple-darwin8"
7
8 define <4 x double> @foo(<4 x double> %x, <4 x double> %z) {
9   %y = fmul <4 x double> %x, %z
10   ret <4 x double> %y
11 }
12
13 define <8 x float> @bar(<8 x float> %x, <8 x float> %z) {
14   %y = fadd <8 x float> %x, %z
15   ret <8 x float> %y
16 }