diff options
| author | Igor Breger <igor.breger@intel.com> | 2016-01-20 13:11:47 +0000 |
|---|---|---|
| committer | Igor Breger <igor.breger@intel.com> | 2016-01-20 13:11:47 +0000 |
| commit | d3341f50213718b386df066a47ee6f396140c4fb (patch) | |
| tree | 2eb97fa356f35803ebe1b6db60c18e1c4e7a7c76 /llvm/test | |
| parent | f7696f8267c94c0eb99568d8054c5aada0876d53 (diff) | |
| download | bcm5719-llvm-d3341f50213718b386df066a47ee6f396140c4fb.tar.gz bcm5719-llvm-d3341f50213718b386df066a47ee6f396140c4fb.zip | |
AVX512: Store (MOVNTPD, MOVNTPS, MOVNTDQ) using non-temporal hint intrinsic implementation.
Differential Revision: http://reviews.llvm.org/D16350
llvm-svn: 258309
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/avx512-intrinsics.ll | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/avx512-intrinsics.ll b/llvm/test/CodeGen/X86/avx512-intrinsics.ll index 78ff60af12c..c29f1ac718b 100644 --- a/llvm/test/CodeGen/X86/avx512-intrinsics.ll +++ b/llvm/test/CodeGen/X86/avx512-intrinsics.ll @@ -7176,3 +7176,35 @@ define <2 x double>@test_int_x86_avx512_maskz_fixupimm_sd(<2 x double> %x0, <2 x ret <2 x double> %res4 } +declare void @llvm.x86.avx512.storent.q.512(i8*, <8 x i64>) + +define void@test_storent_q_512(<8 x i64> %data, i8* %ptr) { +; CHECK-LABEL: test_storent_q_512: +; CHECK: ## BB#0: +; CHECK-NEXT: vmovntdq %zmm0, (%rdi) +; CHECK-NEXT: retq + call void @llvm.x86.avx512.storent.q.512(i8* %ptr, <8 x i64> %data) + ret void +} + +declare void @llvm.x86.avx512.storent.pd.512(i8*, <8 x double>) + +define void @test_storent_pd_512(<8 x double> %data, i8* %ptr) { +; CHECK-LABEL: test_storent_pd_512: +; CHECK: ## BB#0: +; CHECK-NEXT: vmovntpd %zmm0, (%rdi) +; CHECK-NEXT: retq + call void @llvm.x86.avx512.storent.pd.512(i8* %ptr, <8 x double> %data) + ret void +} + +declare void @llvm.x86.avx512.storent.ps.512(i8*, <16 x float>) + +define void @test_storent_ps_512(<16 x float> %data, i8* %ptr) { +; CHECK-LABEL: test_storent_ps_512: +; CHECK: ## BB#0: +; CHECK-NEXT: vmovntps %zmm0, (%rdi) +; CHECK-NEXT: retq + call void @llvm.x86.avx512.storent.ps.512(i8* %ptr, <16 x float> %data) + ret void +} |

