[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / X86 / avx512-nontemporal.ll
1 ; RUN: llc < %s -march=x86-64 -mattr=+avx512f | FileCheck %s
2
3 define void @f(<16 x float> %A, <16 x float> %AA, i8* %B, <8 x double> %C, <8 x double> %CC, i32 %D, <8 x i64> %E, <8 x i64> %EE) {
4 ; CHECK: vmovntps %z
5   %cast = bitcast i8* %B to <16 x float>*
6   %A2 = fadd <16 x float> %A, %AA
7   store <16 x float> %A2, <16 x float>* %cast, align 64, !nontemporal !0
8 ; CHECK: vmovntdq %z
9   %cast1 = bitcast i8* %B to <8 x i64>*
10   %E2 = add <8 x i64> %E, %EE
11   store <8 x i64> %E2, <8 x i64>* %cast1, align 64, !nontemporal !0
12 ; CHECK: vmovntpd %z
13   %cast2 = bitcast i8* %B to <8 x double>*
14   %C2 = fadd <8 x double> %C, %CC
15   store <8 x double> %C2, <8 x double>* %cast2, align 64, !nontemporal !0
16   ret void
17 }
18
19 !0 = !{i32 1}