rpms/gcc/devel gcc41-mni.patch,1.1,1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Sep 23 12:31:12 UTC 2006


Author: jakub

Update of /cvs/dist/rpms/gcc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26887

Modified Files:
	gcc41-mni.patch 
Log Message:
4.1.1-25

gcc41-mni.patch:
 config.gcc              |    6 
 config/i386/i386.c      |  216 ++++++++++++++++-
 config/i386/i386.h      |    2 
 config/i386/i386.md     |    9 
 config/i386/i386.opt    |    4 
 config/i386/sse.md      |  577 +++++++++++++++++++++++++++++++++++++++++++++++-
 config/i386/tmmintrin.h |  224 ++++++++++++++++++
 doc/extend.texi         |   46 +++
 doc/invoke.texi         |    3 
 9 files changed, 1067 insertions(+), 20 deletions(-)

Index: gcc41-mni.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc41-mni.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc41-mni.patch	27 Feb 2006 16:57:32 -0000	1.1
+++ gcc41-mni.patch	23 Sep 2006 12:31:10 -0000	1.2
@@ -87,7 +87,7 @@
  ia64-*-*)
 --- gcc/config/i386/i386.c.mni	2006-02-24 13:39:19.000000000 -0800
 +++ gcc/config/i386/i386.c	2006-02-24 13:39:19.000000000 -0800
-@@ -1446,11 +1446,12 @@ override_options (void)
+@@ -1447,11 +1447,12 @@ override_options (void)
  	  PTA_SSE = 1,
  	  PTA_SSE2 = 2,
  	  PTA_SSE3 = 4,
@@ -105,7 +105,7 @@
  	} flags;
      }
    const processor_alias_table[] =
-@@ -1645,6 +1646,9 @@ override_options (void)
+@@ -1646,6 +1647,9 @@ override_options (void)
  	if (processor_alias_table[i].flags & PTA_SSE3
  	    && !(target_flags_explicit & MASK_SSE3))
  	  target_flags |= MASK_SSE3;
@@ -115,7 +115,7 @@
  	if (processor_alias_table[i].flags & PTA_PREFETCH_SSE)
  	  x86_prefetch_sse = true;
  	if (TARGET_64BIT && !(processor_alias_table[i].flags & PTA_64BIT))
-@@ -1836,6 +1840,10 @@ override_options (void)
+@@ -1835,6 +1839,10 @@ override_options (void)
    if (!TARGET_80387)
      target_flags |= MASK_NO_FANCY_MATH_387;
  
@@ -126,7 +126,7 @@
    /* Turn on SSE2 builtins for -msse3.  */
    if (TARGET_SSE3)
      target_flags |= MASK_SSE2;
-@@ -14147,6 +14155,41 @@ enum ix86_builtins
+@@ -14198,6 +14206,41 @@ enum ix86_builtins
    IX86_BUILTIN_MONITOR,
    IX86_BUILTIN_MWAIT,
  
@@ -168,7 +168,7 @@
    IX86_BUILTIN_VEC_INIT_V2SI,
    IX86_BUILTIN_VEC_INIT_V4HI,
    IX86_BUILTIN_VEC_INIT_V8QI,
-@@ -14487,7 +14530,33 @@ static const struct builtin_description 
+@@ -14538,7 +14581,33 @@ static const struct builtin_description 
    { MASK_SSE3, CODE_FOR_sse3_haddv4sf3, "__builtin_ia32_haddps", IX86_BUILTIN_HADDPS, 0, 0 },
    { MASK_SSE3, CODE_FOR_sse3_haddv2df3, "__builtin_ia32_haddpd", IX86_BUILTIN_HADDPD, 0, 0 },
    { MASK_SSE3, CODE_FOR_sse3_hsubv4sf3, "__builtin_ia32_hsubps", IX86_BUILTIN_HSUBPS, 0, 0 },
@@ -203,7 +203,7 @@
  };
  
  static const struct builtin_description bdesc_1arg[] =
-@@ -14532,8 +14601,16 @@ static const struct builtin_description 
+@@ -14583,8 +14652,16 @@ static const struct builtin_description 
    { MASK_SSE2, CODE_FOR_sse2_cvttps2dq, 0, IX86_BUILTIN_CVTTPS2DQ, 0, 0 },
  
    /* SSE3 */
@@ -222,7 +222,7 @@
  };
  
  static void
-@@ -14678,6 +14755,16 @@ ix86_init_mmx_sse_builtins (void)
+@@ -14719,6 +14796,16 @@ ix86_init_mmx_sse_builtins (void)
    /* Normal vector unops.  */
    tree v4sf_ftype_v4sf
      = build_function_type_list (V4SF_type_node, V4SF_type_node, NULL_TREE);
@@ -239,7 +239,7 @@
  
    /* Normal vector binops.  */
    tree v4sf_ftype_v4sf_v4sf
-@@ -14697,6 +14784,12 @@ ix86_init_mmx_sse_builtins (void)
+@@ -14738,6 +14825,12 @@ ix86_init_mmx_sse_builtins (void)
  				long_long_unsigned_type_node,
  				long_long_unsigned_type_node, NULL_TREE);
  
@@ -252,7 +252,7 @@
    tree v2si_ftype_v2sf
      = build_function_type_list (V2SI_type_node, V2SF_type_node, NULL_TREE);
    tree v2sf_ftype_v2si
-@@ -14801,6 +14894,9 @@ ix86_init_mmx_sse_builtins (void)
+@@ -14842,6 +14935,9 @@ ix86_init_mmx_sse_builtins (void)
    tree v2di_ftype_v2di_int
      = build_function_type_list (V2DI_type_node,
  				V2DI_type_node, integer_type_node, NULL_TREE);
@@ -262,7 +262,7 @@
    tree v4si_ftype_v4si_int
      = build_function_type_list (V4SI_type_node,
  				V4SI_type_node, integer_type_node, NULL_TREE);
-@@ -14926,6 +15022,50 @@ ix86_init_mmx_sse_builtins (void)
+@@ -14967,6 +15063,50 @@ ix86_init_mmx_sse_builtins (void)
        def_builtin (d->mask, d->name, type, d->code);
      }
  
@@ -313,10 +313,10 @@
    /* Add the remaining MMX insns with somewhat more complicated types.  */
    def_builtin (MASK_MMX, "__builtin_ia32_emms", void_ftype_void, IX86_BUILTIN_EMMS);
    def_builtin (MASK_MMX, "__builtin_ia32_psllw", v4hi_ftype_v4hi_di, IX86_BUILTIN_PSLLW);
-@@ -15128,15 +15268,15 @@ ix86_init_mmx_sse_builtins (void)
- 		   void_ftype_unsigned_unsigned,
- 		   IX86_BUILTIN_MWAIT);
-     }
+@@ -15157,15 +15297,15 @@ ix86_init_mmx_sse_builtins (void)
+   def_builtin (MASK_SSE3, "__builtin_ia32_mwait",
+ 	       void_ftype_unsigned_unsigned,
+ 	       IX86_BUILTIN_MWAIT);
 -  def_builtin (MASK_SSE3, "__builtin_ia32_movshdup",
 -	       v4sf_ftype_v4sf,
 -	       IX86_BUILTIN_MOVSHDUP);
@@ -335,7 +335,7 @@
    /* Access to the vec_init patterns.  */
    ftype = build_function_type_list (V2SI_type_node, integer_type_node,
  				    integer_type_node, NULL_TREE);
-@@ -15627,7 +15767,7 @@ ix86_expand_builtin (tree exp, rtx targe
+@@ -15656,7 +15796,7 @@ ix86_expand_builtin (tree exp, rtx targe
    tree arglist = TREE_OPERAND (exp, 1);
    tree arg0, arg1, arg2;
    rtx op0, op1, op2, pat;
@@ -344,7 +344,7 @@
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
  
    switch (fcode)
-@@ -16004,6 +16144,52 @@ ix86_expand_builtin (tree exp, rtx targe
+@@ -16025,6 +16165,52 @@ ix86_expand_builtin (tree exp, rtx targe
        return ix86_expand_unop_builtin (CODE_FOR_sse3_lddqu, arglist,
  				       target, 1);
  




More information about the fedora-cvs-commits mailing list