From: Segher Boessenkool Date: Sun, 1 Mar 2020 18:13:18 +0000 (-0700) Subject: Fix test for pr88233. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03a71208880e60f6d9c51423a50d9de9ae26d700;p=gcc.git Fix test for pr88233. PR testsuite/91799 * gcc.target/powerpc/pr88233.c: Update expected output and add target selector. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 35b1a3c2bfc..65fb413f884 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-03-01 Segher Boessenkool + + PR testsuite/91799 + * gcc.target/powerpc/pr88233.c: Update expected output and + add target selector. + 2020-03-01 Iain Sandoe * g++.dg/coroutines/torture/class-07-data-member.C: New test. diff --git a/gcc/testsuite/gcc.target/powerpc/pr88233.c b/gcc/testsuite/gcc.target/powerpc/pr88233.c index c16235e9474..8e5f15b83b5 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr88233.c +++ b/gcc/testsuite/gcc.target/powerpc/pr88233.c @@ -1,5 +1,5 @@ /* { dg-do compile { target lp64 } } */ -/* { dg-options "-O2 -mcpu=power8" } */ +/* { dg-options "-O2 -mdejagnu-cpu=power8" } */ typedef struct { double a[2]; } A; A @@ -9,5 +9,6 @@ foo (const A *a) } /* { dg-final { scan-assembler-not {\mmtvsr} } } */ -/* { dg-final { scan-assembler-times {\mlxvd2x\M} 1 } } */ -/* { dg-final { scan-assembler-times {\mstxvd2x\M} 1 } } */ +/* { dg-final { scan-assembler-times {\mlxvd2x\M} 1 { target { be } } } } */ +/* { dg-final { scan-assembler-times {\mstxvd2x\M} 1 { target { be } } } } */ +/* { dg-final { scan-assembler-times {\mlfd\M} 2 { target { le } } } } */