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: [lno][patch] vectorizer updates


On Wed, Jan 14, 2004 at 07:14:08PM +0200, Dorit Naishlos wrote:
> Also included are two test cases (tree-ssa-vect-1.c and tree-ssa-vect-2.c).
> These test cases are targeting ppc-darwin, but should have the same
> behavior on intel-sse. Is it possible to create a single test case for both
> targets, considering that different compilation flags may be needed? If
> not, I'll check in an sse equivalent of these patches separately; For
> altivec I have:
> tree-ssa-vect-1.c:
> /* { dg-do compile { target powerpc*-*-darwin* } } */
> /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -S" } */
> tree-ssa-vect-2.c:
> /* { dg-do run { target powerpc*-*-darwin* } } */
> /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -maltivec" }
> */
> 
> The sse equivalent would be...?

I don't know the options offhand, but yes, it's possible.  dg-options
can take a target pattern as a third argument, IIRC.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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