[cfe-commits] r57749 - /cfe/trunk/test/CodeGen/builtins-x86.c

Mon P Wang wangmp at apple.com
Fri Oct 17 19:43:27 PDT 2008


Author: wangmp
Date: Fri Oct 17 21:43:25 2008
New Revision: 57749

URL: http://llvm.org/viewvc/llvm-project?rev=57749&view=rev
Log:
Added vec_set intrinsics

Modified:
    cfe/trunk/test/CodeGen/builtins-x86.c

Modified: cfe/trunk/test/CodeGen/builtins-x86.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-x86.c?rev=57749&r1=57748&r2=57749&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/builtins-x86.c (original)
+++ cfe/trunk/test/CodeGen/builtins-x86.c Fri Oct 17 21:43:25 2008
@@ -526,6 +526,10 @@
   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
 }
 





More information about the cfe-commits mailing list