summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-03-04 01:34:19 +0000
committerEric Christopher <echristo@apple.com>2010-03-04 01:34:19 +0000
commit45fa7e60fbc7f2fd2e069d61c191f85b46bc43e8 (patch)
treec898338658d3d02817ddc2c0891f3f470f1d8c5b /clang/test/CodeGen
parent36f8aabb2cf1df2a84e4ffcf714214e0a95bf749 (diff)
downloadbcm5719-llvm-45fa7e60fbc7f2fd2e069d61c191f85b46bc43e8.tar.gz
bcm5719-llvm-45fa7e60fbc7f2fd2e069d61c191f85b46bc43e8.zip
Fix __builtin_ia32_roundss and __builtin_ia32_roundsd definitions.
Re-enable test. llvm-svn: 97707
Diffstat (limited to 'clang/test/CodeGen')
-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 2eadd7f884d..b5878144981 100644
--- a/clang/test/CodeGen/builtins-x86.c
+++ b/clang/test/CodeGen/builtins-x86.c
@@ -360,8 +360,8 @@ void f0() {
tmp_V2LLi = __builtin_ia32_pmuldq128(tmp_V4i, tmp_V4i);
tmp_V4i = __builtin_ia32_pmulld128(tmp_V4i, tmp_V4i);
tmp_V4f = __builtin_ia32_roundps(tmp_V4f, imm_i_0_16);
- // tmp_V4f = __builtin_ia32_roundss(tmp_V4f, tmp_V4f, imm_i_0_16);
- // tmp_V2d = __builtin_ia32_roundsd(tmp_V2d, tmp_V2d, imm_i_0_16);
+ tmp_V4f = __builtin_ia32_roundss(tmp_V4f, tmp_V4f, imm_i_0_16);
+ tmp_V2d = __builtin_ia32_roundsd(tmp_V2d, tmp_V2d, imm_i_0_16);
tmp_V2d = __builtin_ia32_roundpd(tmp_V2d, imm_i_0_16);
tmp_V4f = __builtin_ia32_insertps128(tmp_V4f, tmp_V4f, tmp_i);
#endif
OpenPOWER on IntegriCloud