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: Condition some Power tests on powerpc_fprs and powerpc_altivec_ok


On Wed, Jun 4, 2008 at 10:53 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:

> Index: g++.dg/other/spu2vmx-1.C
> ===================================================================
> --- g++.dg/other/spu2vmx-1.C    (revision 136352)
> +++ g++.dg/other/spu2vmx-1.C    (working copy)
> @@ -1,5 +1,6 @@
>  /* { dg-do compile { target powerpc*-*-* } } */
>  /* { dg-require-effective-target powerpc_spu } */
> +/* { dg-require-effective-target powerpc_altivec_ok } */
>  /* { dg-options "-maltivec" } */

powerpc_spu should be a subset of powerpc_altivec_ok.
As there are no Cell processors which don't also have VMX and there
never can be any because of the definition of the Cell architecture.

Thanks,
Andrew Pinski


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