From 1d99e56de51d88bd8d2eb4d742d7a06e99947932 Mon Sep 17 00:00:00 2001 From: Peter Bergner Date: Tue, 13 Feb 2018 17:29:38 -0600 Subject: [PATCH] re PR target/84372 (test case gcc.target/powerpc/lvsl-lvsr.c fails on power9) PR target/84372 * gcc.target/powerpc/lvsl-lvsr.c: Also match lxv when compiling with -mcpu=power9. From-SVN: r257648 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eec738ef3fd..0a2203185ef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-02-13 Peter Bergner + + PR target/84372 + * gcc.target/powerpc/lvsl-lvsr.c: Also match lxv when compiling + with -mcpu=power9. + 2018-02-13 Peter Bergner PR target/84279 diff --git a/gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c b/gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c index 71dd0a24ae1..6a7baf31b43 100644 --- a/gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c +++ b/gcc/testsuite/gcc.target/powerpc/lvsl-lvsr.c @@ -6,7 +6,7 @@ /* { dg-options "-O0 -Wno-deprecated" } */ /* { dg-final { scan-assembler-times "lvsl" 2 } } */ /* { dg-final { scan-assembler-times "lvsr" 2 } } */ -/* { dg-final { scan-assembler-times "lxvd2x" 2 } } */ +/* { dg-final { scan-assembler-times {\mlxvd2x\M|\mlxv\M} 2 } } */ /* { dg-final { scan-assembler-times "vperm" 2 } } */ -- 2.30.2