From 859b0bae8e30c1cbf13ee1b1135805671899ff18 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Fri, 3 Jun 2016 13:14:26 +0000 Subject: [PATCH] re PR target/70957 (testsuite/gcc.target/powerpc/vsx-elemrev-4.c fails on power7) 2016-06-03 Bill Schmidt PR target/70957 * gcc.target/powerpc/vsx-elemrev-2.c: Require p9vector hardware support. * gcc.target/powerpc/vsx-elemrev-4.c: Likewise. From-SVN: r237066 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/powerpc/vsx-elemrev-2.c | 1 + gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c | 1 + 3 files changed, 9 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1334193e212..00e4ce6e721 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-06-03 Bill Schmidt + + PR target/70957 + * gcc.target/powerpc/vsx-elemrev-2.c: Require p9vector hardware + support. + * gcc.target/powerpc/vsx-elemrev-4.c: Likewise. + 2016-06-03 Alan Hayward * gcc.dg/vect/vect-live-slp-5.c: Remove dg check. diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-2.c b/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-2.c index f1c44039c76..28b62547a34 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-2.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-2.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc64le*-*-* } } } */ /* { dg-skip-if "do not override mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */ /* { dg-options "-mcpu=power9 -O0" } */ +/* { dg-require-effective-target p9vector_hw } */ /* { dg-final { scan-assembler-times "lxvd2x" 6 } } */ /* { dg-final { scan-assembler-times "lxvw4x" 6 } } */ /* { dg-final { scan-assembler-times "lxvh8x" 4 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c b/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c index ef84581bc0a..9a7a9943033 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c +++ b/gcc/testsuite/gcc.target/powerpc/vsx-elemrev-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc64-*-* } } } */ /* { dg-skip-if "do not override mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */ /* { dg-options "-mcpu=power9 -O0" } */ +/* { dg-require-effective-target p9vector_hw } */ /* { dg-final { scan-assembler-times "lxvx" 40 } } */ /* { dg-final { scan-assembler-times "stxvx" 40 } } */ -- 2.30.2