From: Will Schmidt Date: Tue, 11 Feb 2020 16:27:25 +0000 (-0600) Subject: Tweak testcases for pr70010 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0e05505ffd58d3d0ed9c22e0cc6b954e25c8b1b;p=gcc.git Tweak testcases for pr70010 [testsuite] * gcc.target/powerpc/pr70010-2.c: Add -maltivec. * gcc.target/powerpc/pr70010-3.c: Add -maltivec. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e90ba18466f..27aa4ac1cc5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-02-11 Will Schmidt + + * gcc.target/powerpc/pr70010-2.c: Add -maltivec. + * gcc.target/powerpc/pr70010-3.c: Add -maltivec. + 2020-02-11 Stam Markianos-Wright * gcc.target/arm/simd/vdot-2-1.c: New test. diff --git a/gcc/testsuite/gcc.target/powerpc/pr70010-2.c b/gcc/testsuite/gcc.target/powerpc/pr70010-2.c index 0c04c5390db..dd242081537 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr70010-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr70010-2.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -flto -mno-vsx" } */ +/* { dg-options "-O2 -flto -maltivec -mno-vsx" } */ /* { dg-require-effective-target lto } */ +/* { dg-require-effective-target powerpc_altivec_ok } */ vector int c, a, b; diff --git a/gcc/testsuite/gcc.target/powerpc/pr70010-3.c b/gcc/testsuite/gcc.target/powerpc/pr70010-3.c index bca31875632..9fd97d10074 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr70010-3.c +++ b/gcc/testsuite/gcc.target/powerpc/pr70010-3.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mno-vsx" } */ +/* { dg-options "-O2 -maltivec -mno-vsx" } */ +/* { dg-require-effective-target powerpc_altivec_ok } */ vector int c, a, b;