This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, vectorizer] Fix PR tree-optimization/36119 (committed)
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Ira Rosen" <IRAR at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Mon, 5 May 2008 00:57:36 -0700
- Subject: Re: [patch, vectorizer] Fix PR tree-optimization/36119 (committed)
- References: <OF48389E2F.7FC52FF0-ONC2257440.002811B0-C2257440.002B2356@il.ibm.com>
On Mon, May 5, 2008 at 12:51 AM, Ira Rosen <IRAR@il.ibm.com> wrote:
> Index: testsuite/gfortran.dg/vect/pr36119.f
> ===================================================================
> --- testsuite/gfortran.dg/vect/pr36119.f (revision 0)
> +++ testsuite/gfortran.dg/vect/pr36119.f (revision 0)
> @@ -0,0 +1,29 @@
> +! { dg-do compile { target { i?86-*-* x86_64-*-* } } }
> +! { dg-options "-O3 -mfpmath=sse -msse2 -ffree-form" }
For free form fortran tests, you could have named the testcase ending
in .f90 which causes free form by default.
Also I would have enabled this test at -O3 in general and enable the
extra options "-mfpmath=sse -msse2" for x86.
That is:
! { dg-do compile }
! { dg-options "-O3 -ffree-form" }
! { dg-options "-O3 -mfpmath=sse -msse2 -ffree-form" { target {
i?86-*-* x86_64-*-* } } }
Thanks,
Andrew Pinski