diff options
author | Mon P Wang <wangmp@apple.com> | 2008-10-18 02:43:25 +0000 |
---|---|---|
committer | Mon P Wang <wangmp@apple.com> | 2008-10-18 02:43:25 +0000 |
commit | e5582f08df3ede19d8bb182844aad60ab65ab237 (patch) | |
tree | 7574c8f59b75221583a8fcf2464e281184738fc4 | |
parent | e75d849d9141d8e47d05a91b7b5c04194854e47a (diff) |
Added vec_set intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57749 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/builtins-x86.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/builtins-x86.c b/test/CodeGen/builtins-x86.c index 01ab93db67..0b039aa970 100644 --- a/test/CodeGen/builtins-x86.c +++ b/test/CodeGen/builtins-x86.c @@ -526,6 +526,10 @@ 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_V16c = __builtin_ia32_vec_set_v16qi(tmp_V16c, tmp_i, tmp_i); + tmp_V4i = __builtin_ia32_vec_set_v4si(tmp_V4i, tmp_i, tmp_i); + tmp_V4f = __builtin_ia32_insertps128(tmp_V4f, tmp_V4f, tmp_i); + tmp_V2LLi = __builtin_ia32_vec_set_v2di(tmp_V2LLi, tmp_LLi); #endif } |