From ac4dc08d721ea4f2d1aa87258d16250c0d6cff5e Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 18 Jan 2017 00:35:29 +0000 Subject: [PATCH] re PR target/79004 (ICE in gcc.dg/torture/fp-int-convert-float128-ieee.c with -mcpu=power9) 2017-01-17 Michael Meissner PR target/79004 * gcc.target/powerpc/pr79004.c: Add -mfloat128 to the test options. Fix up the syntax for using \m and \M. From-SVN: r244561 --- gcc/testsuite/ChangeLog | 6 ++++ gcc/testsuite/gcc.target/powerpc/pr79004.c | 32 +++++++++++----------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ea74ebd2e03..0628f49ff02 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-01-17 Michael Meissner + + PR target/79004 + * gcc.target/powerpc/pr79004.c: Add -mfloat128 to the test + options. Fix up the syntax for using \m and \M. + 2017-01-17 Segher Boessenkool PR target/78875 diff --git a/gcc/testsuite/gcc.target/powerpc/pr79004.c b/gcc/testsuite/gcc.target/powerpc/pr79004.c index 0c2dfe8edf7..9726578feb3 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79004.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79004.c @@ -1,7 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ /* { dg-require-effective-target powerpc_p9vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */ -/* { dg-options "-mcpu=power9 -O2" } */ +/* { dg-options "-mcpu=power9 -O2 -mfloat128" } */ #include @@ -101,18 +101,18 @@ void to_uns_short_store_n (TYPE a, unsigned short *p, long n) { p[n] = (unsigned void to_uns_int_store_n (TYPE a, unsigned int *p, long n) { p[n] = (unsigned int)a; } void to_uns_long_store_n (TYPE a, unsigned long *p, long n) { p[n] = (unsigned long)a; } -/* { dg-final { scan-assembler-not "\mbl __" } } */ -/* { dg-final { scan-assembler "\mxscvdpqp\M" } } */ -/* { dg-final { scan-assembler "\mxscvqpdp\M" } } */ -/* { dg-final { scan-assembler "\mxscvqpdpo\M" } } */ -/* { dg-final { scan-assembler "\mxscvqpsdz\M" } } */ -/* { dg-final { scan-assembler "\mxscvqpswz\M" } } */ -/* { dg-final { scan-assembler "\mxscvsdqp\M" } } */ -/* { dg-final { scan-assembler "\mxscvudqp\M" } } */ -/* { dg-final { scan-assembler "\mlxsd\M" } } */ -/* { dg-final { scan-assembler "\mlxsiwax\M" } } */ -/* { dg-final { scan-assembler "\mlxsiwzx\M" } } */ -/* { dg-final { scan-assembler "\mlxssp\M" } } */ -/* { dg-final { scan-assembler "\mstxsd\M" } } */ -/* { dg-final { scan-assembler "\mstxsiwx\M" } } */ -/* { dg-final { scan-assembler "\mstxssp\M" } } */ +/* { dg-final { scan-assembler-not {\mbl __} } } */ +/* { dg-final { scan-assembler {\mxscvdpqp\M} } } */ +/* { dg-final { scan-assembler {\mxscvqpdp\M} } } */ +/* { dg-final { scan-assembler {\mxscvqpdpo\M} } } */ +/* { dg-final { scan-assembler {\mxscvqpsdz\M} } } */ +/* { dg-final { scan-assembler {\mxscvqpswz\M} } } */ +/* { dg-final { scan-assembler {\mxscvsdqp\M} } } */ +/* { dg-final { scan-assembler {\mxscvudqp\M} } } */ +/* { dg-final { scan-assembler {\mlxsd\M} } } */ +/* { dg-final { scan-assembler {\mlxsiwax\M} } } */ +/* { dg-final { scan-assembler {\mlxsiwzx\M} } } */ +/* { dg-final { scan-assembler {\mlxssp\M} } } */ +/* { dg-final { scan-assembler {\mstxsd\M} } } */ +/* { dg-final { scan-assembler {\mstxsiwx\M} } } */ +/* { dg-final { scan-assembler {\mstxssp\M} } } */ -- 2.30.2