This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix altivec-7 issues on Power 6
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Carl Love <cel at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, David Edelsohn <dje dot gcc at gmail dot com>, Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Date: Mon, 11 Jun 2018 11:13:30 -0500
- Subject: Re: [PATCH] Fix altivec-7 issues on Power 6
- References: <1528487441.4981.42.camel@us.ibm.com> <1528490402.4981.44.camel@us.ibm.com>
On Fri, Jun 08, 2018 at 01:40:02PM -0700, Carl Love wrote:
> diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-37.c b/gcc/testsuite/gcc.target/powerpc/altivec-37.c
> new file mode 100644
> index 0000000..362b6ec
> --- /dev/null
> +++ b/gcc/testsuite/gcc.target/powerpc/altivec-37.c
> @@ -0,0 +1,32 @@
> +/* { dg-do compile { target powerpc*-*-* } } */
> +/* { dg-require-effective-target powerpc_vsx_ok } */
> +/* { dg-options "-mpower8-vector -mvsx" } */
This needs p8vector_ok instead of vsx_ok I think?
Otherwise okay. Thanks!
Segher