summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/builtins-x86.c
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-12-17 00:15:26 +0000
committerChad Rosier <mcrosier@apple.com>2011-12-17 00:15:26 +0000
commit060d03be1c82e44ac13096700e37b38c9960b649 (patch)
tree7a60c79543b3eabd70a60c19452bcc18abc5298e /clang/test/CodeGen/builtins-x86.c
parent465cdf3ba47dbbf1c77cedc24346c61aee42c83e (diff)
downloadllvm-060d03be1c82e44ac13096700e37b38c9960b649.tar.gz
Fix _mm256_round_pd, _mm256_round_ps, _mm_permute_pd and _mm256_permute_pd AVX
intrinsics to use "I" (ICE) markings. Fix avxintrin.h to take them into account. Part of rdar://10595450 llvm-svn: 146791
Diffstat (limited to 'clang/test/CodeGen/builtins-x86.c')
-rw-r--r--clang/test/CodeGen/builtins-x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/builtins-x86.c b/clang/test/CodeGen/builtins-x86.c
index 728ade34c10b..7f028e593209 100644
--- a/clang/test/CodeGen/builtins-x86.c
+++ b/clang/test/CodeGen/builtins-x86.c
@@ -434,8 +434,8 @@ void f0() {
tmp_V8f = __builtin_ia32_sqrtps256(tmp_V8f);
tmp_V8f = __builtin_ia32_rsqrtps256(tmp_V8f);
tmp_V8f = __builtin_ia32_rcpps256(tmp_V8f);
- tmp_V4d = __builtin_ia32_roundpd256(tmp_V4d, tmp_i);
- tmp_V8f = __builtin_ia32_roundps256(tmp_V8f, tmp_i);
+ tmp_V4d = __builtin_ia32_roundpd256(tmp_V4d, 0x1);
+ tmp_V8f = __builtin_ia32_roundps256(tmp_V8f, 0x1);
tmp_i = __builtin_ia32_vtestzpd(tmp_V2d, tmp_V2d);
tmp_i = __builtin_ia32_vtestcpd(tmp_V2d, tmp_V2d);
tmp_i = __builtin_ia32_vtestnzcpd(tmp_V2d, tmp_V2d);