vsx-elemrev-4.c: Change expected code generation to accept D-mode memory accesses.

2017-01-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.target/powerpc/vsx-elemrev-4.c: Change expected code
	generation to accept D-mode memory accesses.

From-SVN: r244916
This commit is contained in:
Bill Schmidt 2017-01-26 03:21:49 +00:00 committed by William Schmidt
parent f95129c12f
commit 3b5de3cb71
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.target/powerpc/vsx-elemrev-4.c: Change expected code
generation to accept D-mode memory accesses.
2017-01-25 Martin Sebor <msebor@redhat.com>
PR c++/71290

View File

@ -3,8 +3,11 @@
/* { dg-options "-mcpu=power9 -O0" } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
/* { dg-skip-if "" { powerpc*-*-aix* } { "*" } { "" } } */
/* { dg-final { scan-assembler-times "lxvx" 40 } } */
/* { dg-final { scan-assembler-times "stxvx" 40 } } */
/* Following will match either lxv or lxvx, either stxv or stxvx.
This is purposeful as either is fine. */
/* { dg-final { scan-assembler-times "lxv" 40 } } */
/* { dg-final { scan-assembler-times "stxv" 40 } } */
#include <altivec.h>