This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Mark __builtin_ia32_vec_set_v2di with MASK_64BIT


pinsrq is only available in 64bit. This patch marks
__builtin_ia32_vec_set_v2di with MASK_64BIT.


H.J.
----
2007-05-23  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_init_mmx_sse_builtins): Mark
	__builtin_ia32_vec_set_v2di with MASK_64BIT.

--- gcc/config/i386/i386.c.64bit	2007-05-23 17:29:31.000000000 -0700
+++ gcc/config/i386/i386.c	2007-05-23 17:37:07.000000000 -0700
@@ -18096,7 +18096,7 @@ ix86_init_mmx_sse_builtins (void)
   ftype = build_function_type_list (V2DI_type_node, V2DI_type_node,
 				    intDI_type_node,
 				    integer_type_node, NULL_TREE);
-  def_builtin (MASK_SSE4_1, "__builtin_ia32_vec_set_v2di",
+  def_builtin (MASK_SSE4_1 | MASK_64BIT, "__builtin_ia32_vec_set_v2di",
 	       ftype, IX86_BUILTIN_VEC_SET_V2DI);
 
   ftype = build_function_type_list (V4SF_type_node, V4SF_type_node,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]