From c8a8efba034ddaa1284243baa34761d8a8491ee2 Mon Sep 17 00:00:00 2001 From: Peter Bergner Date: Tue, 13 Feb 2018 15:52:12 -0600 Subject: [PATCH] re PR target/84365 (gcc.target/powerpc/altivec-7-le.c fails on power9) PR target/84365 * gcc.target/powerpc/altivec-7-le.c: Also match lxv when compiling with -mcpu=power9. From-SVN: r257641 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/powerpc/altivec-7-le.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 04d5fd479c7..68dfe951723 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-02-13 Peter Bergner + + PR target/84365 + * gcc.target/powerpc/altivec-7-le.c: Also match lxv when compiling + with -mcpu=power9. + 2018-02-13 Jakub Jelinek PR c++/84364 diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-7-le.c b/gcc/testsuite/gcc.target/powerpc/altivec-7-le.c index a1549118870..6f895336407 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-7-le.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-7-le.c @@ -22,7 +22,7 @@ /* { dg-final { scan-assembler-times "vpkpx" 2 } } */ /* { dg-final { scan-assembler-times "vmulesb" 1 } } */ /* { dg-final { scan-assembler-times "vmulosb" 1 } } */ -/* { dg-final { scan-assembler-times "lxvd2x" 36 } } */ +/* { dg-final { scan-assembler-times {\mlxvd2x\M|\mlxv\M} 36 } } */ /* { dg-final { scan-assembler-times "lvewx" 2 } } */ /* { dg-final { scan-assembler-times "lvxl" 1 } } */ /* { dg-final { scan-assembler-times "vupklsh" 1 } } */ -- 2.30.2