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] fix prefetch-3 on x86_64 darwin


Hello,

> On a side note, shouldn't this be in the gcc.target/i386  
> directory?

I do not think so.  While the testcase has to be limited quite
strictly to have predictable outcome, it does not check for a target
specific feature.

Zdenek

> -eric
> 
> 2006-11-29  Eric Christopher  <echristo@apple.com>
> 
> 	* gcc.dg/tree-ssa/prefetch-3.c: Allow x86_64, but require ilp32.
> 

> Index: gcc/testsuite/gcc.dg/tree-ssa/prefetch-3.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/tree-ssa/prefetch-3.c	(revision 119303)
> +++ gcc/testsuite/gcc.dg/tree-ssa/prefetch-3.c	(working copy)
> @@ -1,6 +1,7 @@
>  /* Prefetching used to prefer nonsensical unroll factor of 5 in this testcase.  */
>  
> -/* { dg-do compile { target i?86-*-* } } */
> +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
> +/* { dg-require-effective-target ilp32 } */
>  /* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon -msse2 -mfpmath=sse -fdump-tree-aprefetch-details" } */
>  
>  #define N 1000000


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