4.4.0-15
This commit is contained in:
parent
aefc846ec6
commit
48bc863929
@ -1,2 +1,2 @@
|
|||||||
fastjar-0.97.tar.gz
|
fastjar-0.97.tar.gz
|
||||||
gcc-4.4.0-20090717.tar.bz2
|
gcc-4.4.0-20090721.tar.bz2
|
||||||
|
8
gcc.spec
8
gcc.spec
@ -35,7 +35,7 @@
|
|||||||
%global multilib_32_arch ppc
|
%global multilib_32_arch ppc
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%global multilib_32_arch i586
|
%global multilib_32_arch i686
|
||||||
%endif
|
%endif
|
||||||
Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
Summary: Various compilers (C, C++, Objective-C, Java, ...)
|
||||||
Name: gcc
|
Name: gcc
|
||||||
@ -652,10 +652,10 @@ CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="`echo $OPT_FLAGS | sed 's/ -Wall / /g'`"
|
|||||||
--with-tune=generic \
|
--with-tune=generic \
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
--with-arch=i586 \
|
--with-arch=i686 \
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
--with-arch_32=i586 \
|
--with-arch_32=i686 \
|
||||||
%endif
|
%endif
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
--with-arch=z9-109 --with-tune=z10 \
|
--with-arch=z9-109 --with-tune=z10 \
|
||||||
@ -1818,6 +1818,8 @@ fi
|
|||||||
constructs (#512689, #511573)
|
constructs (#512689, #511573)
|
||||||
- vectorize unsigned int -> {float,double} conversions on x86/x86_64
|
- vectorize unsigned int -> {float,double} conversions on x86/x86_64
|
||||||
(PR target/40811)
|
(PR target/40811)
|
||||||
|
- update for i586.rpm -> i686.rpm switch (default to -march=i686 -mtune=generic
|
||||||
|
in i686.rpm gcc and also with -m32 in x86_64.rpm gcc)
|
||||||
|
|
||||||
* Fri Jul 17 2009 Jakub Jelinek <jakub@redhat.com> 4.4.0-14
|
* Fri Jul 17 2009 Jakub Jelinek <jakub@redhat.com> 4.4.0-14
|
||||||
- update from gcc-4_4-branch
|
- update from gcc-4_4-branch
|
||||||
|
@ -130,16 +130,17 @@
|
|||||||
(match_operand:V2DF 1 "nonimmediate_operand" "")
|
(match_operand:V2DF 1 "nonimmediate_operand" "")
|
||||||
--- gcc/config/i386/i386.c (revision 149860)
|
--- gcc/config/i386/i386.c (revision 149860)
|
||||||
+++ gcc/config/i386/i386.c (revision 149862)
|
+++ gcc/config/i386/i386.c (revision 149862)
|
||||||
@@ -20908,6 +20908,8 @@ enum ix86_builtins
|
@@ -21080,6 +21080,9 @@ enum ix86_builtins
|
||||||
IX86_BUILTIN_CPYSGNPS,
|
IX86_BUILTIN_FABSQ,
|
||||||
IX86_BUILTIN_CPYSGNPD,
|
IX86_BUILTIN_COPYSIGNQ,
|
||||||
|
|
||||||
|
+ /* Vectorizer support builtins. */
|
||||||
+ IX86_BUILTIN_CVTUDQ2PS,
|
+ IX86_BUILTIN_CVTUDQ2PS,
|
||||||
+
|
+
|
||||||
/* SSE5 instructions */
|
/* SSE5 instructions */
|
||||||
IX86_BUILTIN_FMADDSS,
|
IX86_BUILTIN_FMADDSS,
|
||||||
IX86_BUILTIN_FMADDSD,
|
IX86_BUILTIN_FMADDSD,
|
||||||
@@ -21785,6 +21787,7 @@ static const struct builtin_description
|
@@ -21938,6 +21941,7 @@ static const struct builtin_description
|
||||||
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sqrtv2df2, "__builtin_ia32_sqrtpd", IX86_BUILTIN_SQRTPD, UNKNOWN, (int) V2DF_FTYPE_V2DF },
|
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sqrtv2df2, "__builtin_ia32_sqrtpd", IX86_BUILTIN_SQRTPD, UNKNOWN, (int) V2DF_FTYPE_V2DF },
|
||||||
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtdq2pd, "__builtin_ia32_cvtdq2pd", IX86_BUILTIN_CVTDQ2PD, UNKNOWN, (int) V2DF_FTYPE_V4SI },
|
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtdq2pd, "__builtin_ia32_cvtdq2pd", IX86_BUILTIN_CVTDQ2PD, UNKNOWN, (int) V2DF_FTYPE_V4SI },
|
||||||
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtdq2ps, "__builtin_ia32_cvtdq2ps", IX86_BUILTIN_CVTDQ2PS, UNKNOWN, (int) V4SF_FTYPE_V4SI },
|
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtdq2ps, "__builtin_ia32_cvtdq2ps", IX86_BUILTIN_CVTDQ2PS, UNKNOWN, (int) V4SF_FTYPE_V4SI },
|
||||||
@ -147,7 +148,7 @@
|
|||||||
|
|
||||||
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtpd2dq, "__builtin_ia32_cvtpd2dq", IX86_BUILTIN_CVTPD2DQ, UNKNOWN, (int) V4SI_FTYPE_V2DF },
|
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtpd2dq, "__builtin_ia32_cvtpd2dq", IX86_BUILTIN_CVTPD2DQ, UNKNOWN, (int) V4SI_FTYPE_V2DF },
|
||||||
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtpd2pi, "__builtin_ia32_cvtpd2pi", IX86_BUILTIN_CVTPD2PI, UNKNOWN, (int) V2SI_FTYPE_V2DF },
|
{ OPTION_MASK_ISA_SSE2, CODE_FOR_sse2_cvtpd2pi, "__builtin_ia32_cvtpd2pi", IX86_BUILTIN_CVTPD2PI, UNKNOWN, (int) V2SI_FTYPE_V2DF },
|
||||||
@@ -25962,9 +25965,7 @@ ix86_veclibabi_acml (enum built_in_funct
|
@@ -26028,9 +26032,7 @@ ix86_veclibabi_acml (enum built_in_funct
|
||||||
static tree
|
static tree
|
||||||
ix86_vectorize_builtin_conversion (unsigned int code, tree type)
|
ix86_vectorize_builtin_conversion (unsigned int code, tree type)
|
||||||
{
|
{
|
||||||
@ -158,7 +159,7 @@
|
|||||||
return NULL_TREE;
|
return NULL_TREE;
|
||||||
|
|
||||||
switch (code)
|
switch (code)
|
||||||
@@ -25973,7 +25974,9 @@ ix86_vectorize_builtin_conversion (unsig
|
@@ -26039,7 +26041,9 @@ ix86_vectorize_builtin_conversion (unsig
|
||||||
switch (TYPE_MODE (type))
|
switch (TYPE_MODE (type))
|
||||||
{
|
{
|
||||||
case V4SImode:
|
case V4SImode:
|
||||||
@ -169,7 +170,7 @@
|
|||||||
default:
|
default:
|
||||||
return NULL_TREE;
|
return NULL_TREE;
|
||||||
}
|
}
|
||||||
@@ -25982,7 +25985,9 @@ ix86_vectorize_builtin_conversion (unsig
|
@@ -26048,7 +26052,9 @@ ix86_vectorize_builtin_conversion (unsig
|
||||||
switch (TYPE_MODE (type))
|
switch (TYPE_MODE (type))
|
||||||
{
|
{
|
||||||
case V4SImode:
|
case V4SImode:
|
||||||
@ -180,6 +181,24 @@
|
|||||||
default:
|
default:
|
||||||
return NULL_TREE;
|
return NULL_TREE;
|
||||||
}
|
}
|
||||||
|
--- gcc/testsuite/gcc.target/i386/vectorize7.c (revision 0)
|
||||||
|
+++ gcc/testsuite/gcc.target/i386/vectorize7.c (revision 149862)
|
||||||
|
@@ -0,0 +1,15 @@
|
||||||
|
+/* { dg-do compile } */
|
||||||
|
+/* { dg-options "-O2 -ftree-vectorize -msse2" } */
|
||||||
|
+
|
||||||
|
+unsigned int a[256];
|
||||||
|
+float b[256];
|
||||||
|
+
|
||||||
|
+void foo(void)
|
||||||
|
+{
|
||||||
|
+ int i;
|
||||||
|
+
|
||||||
|
+ for (i=0; i<256; ++i)
|
||||||
|
+ b[i] = a[i];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/* { dg-final { scan-assembler "cvtdq2ps" } } */
|
||||||
--- gcc/testsuite/gcc.target/i386/vectorize8.c (revision 0)
|
--- gcc/testsuite/gcc.target/i386/vectorize8.c (revision 0)
|
||||||
+++ gcc/testsuite/gcc.target/i386/vectorize8.c (revision 149862)
|
+++ gcc/testsuite/gcc.target/i386/vectorize8.c (revision 149862)
|
||||||
@@ -0,0 +1,16 @@
|
@@ -0,0 +1,16 @@
|
||||||
@ -199,24 +218,6 @@
|
|||||||
+
|
+
|
||||||
+/* { dg-final { scan-assembler "cvtdq2pd" } } */
|
+/* { dg-final { scan-assembler "cvtdq2pd" } } */
|
||||||
+
|
+
|
||||||
--- gcc/testsuite/gcc.target/i386/vectorize7.c (revision 0)
|
|
||||||
+++ gcc/testsuite/gcc.target/i386/vectorize7.c (revision 149862)
|
|
||||||
@@ -0,0 +1,15 @@
|
|
||||||
+/* { dg-do compile } */
|
|
||||||
+/* { dg-options "-O2 -ftree-vectorize -msse2" } */
|
|
||||||
+
|
|
||||||
+unsigned int a[256];
|
|
||||||
+float b[256];
|
|
||||||
+
|
|
||||||
+void foo(void)
|
|
||||||
+{
|
|
||||||
+ int i;
|
|
||||||
+
|
|
||||||
+ for (i=0; i<256; ++i)
|
|
||||||
+ b[i] = a[i];
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+/* { dg-final { scan-assembler "cvtdq2ps" } } */
|
|
||||||
--- gcc/testsuite/lib/target-supports.exp (revision 149860)
|
--- gcc/testsuite/lib/target-supports.exp (revision 149860)
|
||||||
+++ gcc/testsuite/lib/target-supports.exp (revision 149862)
|
+++ gcc/testsuite/lib/target-supports.exp (revision 149862)
|
||||||
@@ -1399,8 +1399,10 @@ proc check_effective_target_vect_uintflo
|
@@ -1399,8 +1399,10 @@ proc check_effective_target_vect_uintflo
|
||||||
|
Loading…
Reference in New Issue
Block a user