summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtins-x86.c
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-09-06 10:30:51 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-09-06 10:30:51 +0000
commit2949e548f4b1bb95d48ec8fe2078d5dfdb0b15f2 (patch)
tree75d5fc983f1b9592b82022a0d6e33ddc887a0aba /clang/test/CodeGen/builtins-x86.c
parent373b2b1728ced6e5bfda73eb1f3fc9f7ced3d786 (diff)
downloadbcm5719-llvm-2949e548f4b1bb95d48ec8fe2078d5dfdb0b15f2.tar.gz
bcm5719-llvm-2949e548f4b1bb95d48ec8fe2078d5dfdb0b15f2.zip
[x86] Clean up the x86 builtin specs to reflect r217310 in LLVM which
made the 8-bit masks actually 8-bit arguments to these intrinsics. These builtins are a mess. Many were missing the I qualifier which I added where obviously correct. Most aren't tested, but I've updated the relevant tests. I've tried to catch all the things that should become 'c' in this round. It's also frustrating because the set of these is really ad-hoc and doesn't really map that cleanly to the set supported by either GCC or LLVM. Oh well... llvm-svn: 217311
Diffstat (limited to 'clang/test/CodeGen/builtins-x86.c')
-rw-r--r--clang/test/CodeGen/builtins-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/builtins-x86.c b/clang/test/CodeGen/builtins-x86.c
index 0f038b87355..e9ae834b3cf 100644
--- a/clang/test/CodeGen/builtins-x86.c
+++ b/clang/test/CodeGen/builtins-x86.c
@@ -386,7 +386,7 @@ void f0() {
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);
+ tmp_V4f = __builtin_ia32_insertps128(tmp_V4f, tmp_V4f, imm_i_0_256);
#endif
tmp_V4d = __builtin_ia32_addsubpd256(tmp_V4d, tmp_V4d);
OpenPOWER on IntegriCloud