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]

Fw: [lno][patch] vectorizer updates





> > For *compile* tests, as these are, you shouldn't be restricting to just
> > darwin; with the right options I'd expect any ppc target should pass.
>
> Yes, should pass.
>
> > For *run* tests, you'll have to add runtime checks for x86 to verify
> > that the appropriate support is present at runtime.  We might be able
> > to hack dejagnu to test this for us once; not sure.
>
> Look at altivec-varargs-1.c. Check is done by catching the SIGILL on ppc
> targets without vector unit.

thanks!

I'll try the two tests on a non altivec ppc to make sure it passes there,
and then check in the tests.

dorit



                                                                                                                                 
                      "Hartmut Penner"                                                                                           
                      <HPENNER@de.ibm.co        To:       rth@redhat.com, Dorit Naishlos/Haifa/IBM@IBMIL                         
                      m>                        cc:       pop@gauvain.u-strasbg.fr, gcc-patches@gcc.gnu.org                      
                      Sent by:                  Subject:  Re: [lno][patch] vectorizer updates                                    
                      gcc-patches-owner@                                                                                         
                      gcc.gnu.org                                                                                                
                                                                                                                                 
                                                                                                                                 
                      15/01/2004 10:21                                                                                           
                                                                                                                                 




Richard Henderson wrote:
> > /* { dg-do compile { target powerpc*-*-darwin* } } */
> > /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -maltivec"
}
> > */
> >
> > The sse equivalent would be...?

> /* { dg-do compile { target powerpc*-*-* i?86-*-* } } */
> /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -maltivec" {
target powerpc*-*-* } } */
>/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -msse" {
target i?86-*-* } } */

> For *compile* tests, as these are, you shouldn't be restricting to just
> darwin; with the right options I'd expect any ppc target should pass.

Yes, should pass.

> For *run* tests, you'll have to add runtime checks for x86 to verify
> that the appropriate support is present at runtime.  We might be able
> to hack dejagnu to test this for us once; not sure.

Look at altivec-varargs-1.c. Check is done by catching the SIGILL on ppc
targets without vector unit.

      regards, Hartmut






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