diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-02 18:01:21 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-02 18:01:21 +0000 |
| commit | ab95b2fe269793ac364974d14dd5b322691be519 (patch) | |
| tree | cad6ca9f7e25559176a0244d94a2503625cb1f69 /llvm/test | |
| parent | 34ab28a470630bcf87d6199bf2844d17305cdeff (diff) | |
| download | bcm5719-llvm-ab95b2fe269793ac364974d14dd5b322691be519.tar.gz bcm5719-llvm-ab95b2fe269793ac364974d14dd5b322691be519.zip | |
[X86][SSE] Added SSE41/AVX2 non-temporal tests
Useful for when we add MOVNTDQA support
llvm-svn: 271552
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/fast-isel-nontemporal.ll | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll b/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll index d5a805e70aa..172ed7f6801 100644 --- a/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll +++ b/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll @@ -1,7 +1,9 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+sse2 -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE2 ; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+sse4a -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE4A -; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+avx -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX +; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+sse4.1 -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE41 +; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+avx -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX1 +; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+avx2 -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX2 ; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+avx512f -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512F ; RUN: llc -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+avx512bw -fast-isel -O0 < %s | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW @@ -40,6 +42,11 @@ define void @test_ntfloat(float* nocapture %ptr, float %X) { ; SSE4A-NEXT: movntss %xmm0, (%rdi) ; SSE4A-NEXT: retq ; +; SSE41-LABEL: test_ntfloat: +; SSE41: # BB#0: # %entry +; SSE41-NEXT: movss %xmm0, (%rdi) +; SSE41-NEXT: retq +; ; AVX-LABEL: test_ntfloat: ; AVX: # BB#0: # %entry ; AVX-NEXT: vmovss %xmm0, (%rdi) @@ -65,6 +72,11 @@ define void @test_ntdouble(double* nocapture %ptr, double %X) { ; SSE4A-NEXT: movntsd %xmm0, (%rdi) ; SSE4A-NEXT: retq ; +; SSE41-LABEL: test_ntdouble: +; SSE41: # BB#0: # %entry +; SSE41-NEXT: movsd %xmm0, (%rdi) +; SSE41-NEXT: retq +; ; AVX-LABEL: test_ntdouble: ; AVX: # BB#0: # %entry ; AVX-NEXT: vmovsd %xmm0, (%rdi) |

