diff options
| author | Asaf Badouh <asaf.badouh@intel.com> | 2016-06-26 13:51:54 +0000 |
|---|---|---|
| committer | Asaf Badouh <asaf.badouh@intel.com> | 2016-06-26 13:51:54 +0000 |
| commit | 57819aa185196b8d3c4dda3c2282d2128aef3a51 (patch) | |
| tree | 2f41cfe3c4da48125df6f7d2ee5cca42ea0e7b47 /clang/test/CodeGen/sse2-builtins.c | |
| parent | 706e48839d11f01fcae93f51a3d95c3fe1c1f495 (diff) | |
| download | bcm5719-llvm-57819aa185196b8d3c4dda3c2282d2128aef3a51.tar.gz bcm5719-llvm-57819aa185196b8d3c4dda3c2282d2128aef3a51.zip | |
[X86] add _mm_loadu_si64
Differential Revision: http://reviews.llvm.org/D21504
llvm-svn: 273812
Diffstat (limited to 'clang/test/CodeGen/sse2-builtins.c')
| -rw-r--r-- | clang/test/CodeGen/sse2-builtins.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/CodeGen/sse2-builtins.c b/clang/test/CodeGen/sse2-builtins.c index 782dbee1a3d..d5aae2276ad 100644 --- a/clang/test/CodeGen/sse2-builtins.c +++ b/clang/test/CodeGen/sse2-builtins.c @@ -1532,3 +1532,12 @@ __m128i test_mm_xor_si128(__m128i A, __m128i B) { // CHECK: xor <2 x i64> %{{.*}}, %{{.*}} return _mm_xor_si128(A, B); } + +__m128i test_mm_loadu_si64(void const* A) { + // CHECK-LABEL: test_mm_loadu_si64 + // CHECK: load i64, i64* %{{.*}}, align 1{{$}} + // CHECK: insertelement <2 x i64> undef, i64 %{{.*}}, i32 0 + // CHECK: insertelement <2 x i64> %{{.*}}, i64 0, i32 1 + return _mm_loadu_si64(A); +} + |

