diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2013-09-23 23:38:39 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2013-09-23 23:38:39 +0000 |
commit | f9d8c6cebbdec3ec97cd5b9403a2e1ed80d2f84f (patch) | |
tree | 88b401d0c6feb316c80402c71b2cbf9bb0e3fef9 /clang/test/CodeGen/builtins-x86.c | |
parent | 05ccc50ba421c2d59599353123c5f2b18b22067a (diff) | |
download | bcm5719-llvm-f9d8c6cebbdec3ec97cd5b9403a2e1ed80d2f84f.tar.gz bcm5719-llvm-f9d8c6cebbdec3ec97cd5b9403a2e1ed80d2f84f.zip |
Add _mm_stream_si64 intrinsic.
While I'm here, also fix the alignment computation for the whole family of
intrinsics.
PR17298.
llvm-svn: 191243
Diffstat (limited to 'clang/test/CodeGen/builtins-x86.c')
-rw-r--r-- | clang/test/CodeGen/builtins-x86.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/builtins-x86.c b/clang/test/CodeGen/builtins-x86.c index 9e78235d374..261bf2f5d8b 100644 --- a/clang/test/CodeGen/builtins-x86.c +++ b/clang/test/CodeGen/builtins-x86.c @@ -55,6 +55,7 @@ void f0() { const float* tmp_fCp; double* tmp_dp; const double* tmp_dCp; + long long* tmp_LLip; #define imm_i 32 #define imm_i_0_2 0 @@ -288,6 +289,9 @@ void f0() { tmp_i = __builtin_ia32_movmskpd(tmp_V2d); tmp_i = __builtin_ia32_pmovmskb128(tmp_V16c); (void) __builtin_ia32_movnti(tmp_ip, tmp_i); +#ifdef USE_64 + (void) __builtin_ia32_movnti64(tmp_LLip, tmp_LLi); +#endif (void) __builtin_ia32_movntpd(tmp_dp, tmp_V2d); (void) __builtin_ia32_movntdq(tmp_V2LLip, tmp_V2LLi); tmp_V2LLi = __builtin_ia32_psadbw128(tmp_V16c, tmp_V16c); |