diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-05-30 17:10:30 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-05-30 17:10:30 +0000 |
commit | 09175dab317616cde85f043fb8d89ba2f36a8e2f (patch) | |
tree | aba040b35b30dfc789bbcfca31f0d65894463f52 /clang/test/CodeGen/builtins-x86.c | |
parent | 83817327fcc06878a277c2b98aa2ee01ed263492 (diff) | |
download | bcm5719-llvm-09175dab317616cde85f043fb8d89ba2f36a8e2f.tar.gz bcm5719-llvm-09175dab317616cde85f043fb8d89ba2f36a8e2f.zip |
[X86] Replace unaligned store builtins in SSE/AVX intrinsic files with code that will compile to a native unaligned store. Remove the builtins since they are no longer used.
Intrinsics will be removed from llvm in a future commit.
llvm-svn: 271214
Diffstat (limited to 'clang/test/CodeGen/builtins-x86.c')
-rw-r--r-- | clang/test/CodeGen/builtins-x86.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/test/CodeGen/builtins-x86.c b/clang/test/CodeGen/builtins-x86.c index 8cc88053bc3..6bfff11b781 100644 --- a/clang/test/CodeGen/builtins-x86.c +++ b/clang/test/CodeGen/builtins-x86.c @@ -296,7 +296,6 @@ void f0() { #endif tmp_V2i = __builtin_ia32_cvttps2pi(tmp_V4f); (void) __builtin_ia32_maskmovq(tmp_V8c, tmp_V8c, tmp_cp); - (void) __builtin_ia32_storeups(tmp_fp, tmp_V4f); (void) __builtin_ia32_storehps(tmp_V2ip, tmp_V4f); (void) __builtin_ia32_storelps(tmp_V2ip, tmp_V4f); tmp_i = __builtin_ia32_movmskps(tmp_V4f); @@ -313,7 +312,6 @@ void f0() { tmp_V4f = __builtin_ia32_sqrtps(tmp_V4f); tmp_V4f = __builtin_ia32_sqrtss(tmp_V4f); (void) __builtin_ia32_maskmovdqu(tmp_V16c, tmp_V16c, tmp_cp); - (void) __builtin_ia32_storeupd(tmp_dp, tmp_V2d); tmp_i = __builtin_ia32_movmskpd(tmp_V2d); tmp_i = __builtin_ia32_pmovmskb128(tmp_V16c); (void) __builtin_ia32_movnti(tmp_ip, tmp_i); @@ -341,7 +339,6 @@ void f0() { (void) __builtin_ia32_clflush(tmp_vCp); (void) __builtin_ia32_lfence(); (void) __builtin_ia32_mfence(); - (void) __builtin_ia32_storedqu(tmp_cp, tmp_V16c); tmp_V4s = __builtin_ia32_psllwi(tmp_V4s, tmp_i); tmp_V2i = __builtin_ia32_pslldi(tmp_V2i, tmp_i); tmp_V1LLi = __builtin_ia32_psllqi(tmp_V1LLi, tmp_i); @@ -451,9 +448,6 @@ void f0() { __builtin_ia32_vzeroupper(); tmp_V4d = __builtin_ia32_vbroadcastf128_pd256(tmp_V2dCp); tmp_V8f = __builtin_ia32_vbroadcastf128_ps256(tmp_V4fCp); - __builtin_ia32_storeupd256(tmp_dp, tmp_V4d); - __builtin_ia32_storeups256(tmp_fp, tmp_V8f); - __builtin_ia32_storedqu256(tmp_cp, tmp_V32c); tmp_V32c = __builtin_ia32_lddqu256(tmp_cCp); __builtin_ia32_movntdq256(tmp_V4LLip, tmp_V4LLi); __builtin_ia32_movntpd256(tmp_dp, tmp_V4d); |