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]

Re: [patch, vectorizer] Fix PR tree-optimization/36119 (committed)


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


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