From ed4e59f46f0958eb6ea88c2840688a354826b931 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 25 Jan 2017 15:41:55 +0000 Subject: [PATCH] [ARM][testsuite] Force -mcpu=cortex-a57 for vsel* tests. 2017-01-25 Christophe Lyon * gcc.target/arm/vseleqdf.c: Require arm_arch_v8a_ok, add -mcpu=cortex-a57. * gcc.target/arm/vseleqsf.c: Likewise. * gcc.target/arm/vselgedf.c: Likewise. * gcc.target/arm/vselgesf.c: Likewise. * gcc.target/arm/vselgtdf.c: Likewise. * gcc.target/arm/vselgtsf.c: Likewise. * gcc.target/arm/vselledf.c: Likewise. * gcc.target/arm/vsellesf.c: Likewise. * gcc.target/arm/vselltdf.c: Likewise. * gcc.target/arm/vselltsf.c: Likewise. * gcc.target/arm/vselnedf.c: Likewise. * gcc.target/arm/vselnesf.c: Likewise. * gcc.target/arm/vselvcdf.c: Likewise. * gcc.target/arm/vselvcsf.c: Likewise. * gcc.target/arm/vselvsdf.c: Likewise. * gcc.target/arm/vselvssf.c: Likewise. From-SVN: r244903 --- gcc/testsuite/ChangeLog | 20 ++++++++++++++++++++ gcc/testsuite/gcc.target/arm/vseleqdf.c | 3 ++- gcc/testsuite/gcc.target/arm/vseleqsf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselgedf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselgesf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselgtdf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselgtsf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselledf.c | 3 ++- gcc/testsuite/gcc.target/arm/vsellesf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselltdf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselltsf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselnedf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselnesf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselvcdf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselvcsf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselvsdf.c | 3 ++- gcc/testsuite/gcc.target/arm/vselvssf.c | 3 ++- 17 files changed, 52 insertions(+), 16 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f655f5e507b..a5d30658641 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,23 @@ +2017-01-25 Christophe Lyon + + * gcc.target/arm/vseleqdf.c: Require arm_arch_v8a_ok, add + -mcpu=cortex-a57. + * gcc.target/arm/vseleqsf.c: Likewise. + * gcc.target/arm/vselgedf.c: Likewise. + * gcc.target/arm/vselgesf.c: Likewise. + * gcc.target/arm/vselgtdf.c: Likewise. + * gcc.target/arm/vselgtsf.c: Likewise. + * gcc.target/arm/vselledf.c: Likewise. + * gcc.target/arm/vsellesf.c: Likewise. + * gcc.target/arm/vselltdf.c: Likewise. + * gcc.target/arm/vselltsf.c: Likewise. + * gcc.target/arm/vselnedf.c: Likewise. + * gcc.target/arm/vselnesf.c: Likewise. + * gcc.target/arm/vselvcdf.c: Likewise. + * gcc.target/arm/vselvcsf.c: Likewise. + * gcc.target/arm/vselvsdf.c: Likewise. + * gcc.target/arm/vselvssf.c: Likewise. + 2017-01-25 Richard Biener PR testsuite/72850 diff --git a/gcc/testsuite/gcc.target/arm/vseleqdf.c b/gcc/testsuite/gcc.target/arm/vseleqdf.c index 86e147b1f28..64d57848262 100644 --- a/gcc/testsuite/gcc.target/arm/vseleqdf.c +++ b/gcc/testsuite/gcc.target/arm/vseleqdf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vseleqsf.c b/gcc/testsuite/gcc.target/arm/vseleqsf.c index 120f44bf013..b052704e110 100644 --- a/gcc/testsuite/gcc.target/arm/vseleqsf.c +++ b/gcc/testsuite/gcc.target/arm/vseleqsf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float diff --git a/gcc/testsuite/gcc.target/arm/vselgedf.c b/gcc/testsuite/gcc.target/arm/vselgedf.c index cea08d12ea4..e10508f2725 100644 --- a/gcc/testsuite/gcc.target/arm/vselgedf.c +++ b/gcc/testsuite/gcc.target/arm/vselgedf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vselgesf.c b/gcc/testsuite/gcc.target/arm/vselgesf.c index 86f2a04907f..645cf5de42b 100644 --- a/gcc/testsuite/gcc.target/arm/vselgesf.c +++ b/gcc/testsuite/gcc.target/arm/vselgesf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float diff --git a/gcc/testsuite/gcc.target/arm/vselgtdf.c b/gcc/testsuite/gcc.target/arm/vselgtdf.c index 2c4a6ba906d..741b9a8ef43 100644 --- a/gcc/testsuite/gcc.target/arm/vselgtdf.c +++ b/gcc/testsuite/gcc.target/arm/vselgtdf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vselgtsf.c b/gcc/testsuite/gcc.target/arm/vselgtsf.c index 388e74c1114..3042c5b416a 100644 --- a/gcc/testsuite/gcc.target/arm/vselgtsf.c +++ b/gcc/testsuite/gcc.target/arm/vselgtsf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float diff --git a/gcc/testsuite/gcc.target/arm/vselledf.c b/gcc/testsuite/gcc.target/arm/vselledf.c index 088dc04b274..dcf46a3cb8a 100644 --- a/gcc/testsuite/gcc.target/arm/vselledf.c +++ b/gcc/testsuite/gcc.target/arm/vselledf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vsellesf.c b/gcc/testsuite/gcc.target/arm/vsellesf.c index d0afdbcec51..38b06ebb5c7 100644 --- a/gcc/testsuite/gcc.target/arm/vsellesf.c +++ b/gcc/testsuite/gcc.target/arm/vsellesf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float diff --git a/gcc/testsuite/gcc.target/arm/vselltdf.c b/gcc/testsuite/gcc.target/arm/vselltdf.c index fbcb9ea2b33..4d4d91c7fbb 100644 --- a/gcc/testsuite/gcc.target/arm/vselltdf.c +++ b/gcc/testsuite/gcc.target/arm/vselltdf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vselltsf.c b/gcc/testsuite/gcc.target/arm/vselltsf.c index 959dab7fa32..ab3f77f137a 100644 --- a/gcc/testsuite/gcc.target/arm/vselltsf.c +++ b/gcc/testsuite/gcc.target/arm/vselltsf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float diff --git a/gcc/testsuite/gcc.target/arm/vselnedf.c b/gcc/testsuite/gcc.target/arm/vselnedf.c index cf67f29f3f8..4b0fa5ebcb9 100644 --- a/gcc/testsuite/gcc.target/arm/vselnedf.c +++ b/gcc/testsuite/gcc.target/arm/vselnedf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vselnesf.c b/gcc/testsuite/gcc.target/arm/vselnesf.c index 2e16423b574..4fcd5a0273c 100644 --- a/gcc/testsuite/gcc.target/arm/vselnesf.c +++ b/gcc/testsuite/gcc.target/arm/vselnesf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float diff --git a/gcc/testsuite/gcc.target/arm/vselvcdf.c b/gcc/testsuite/gcc.target/arm/vselvcdf.c index 7f30270c502..9701e1144dd 100644 --- a/gcc/testsuite/gcc.target/arm/vselvcdf.c +++ b/gcc/testsuite/gcc.target/arm/vselvcdf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vselvcsf.c b/gcc/testsuite/gcc.target/arm/vselvcsf.c index 1bb736925f9..2d47f30d919 100644 --- a/gcc/testsuite/gcc.target/arm/vselvcsf.c +++ b/gcc/testsuite/gcc.target/arm/vselvcsf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float diff --git a/gcc/testsuite/gcc.target/arm/vselvsdf.c b/gcc/testsuite/gcc.target/arm/vselvsdf.c index 83ad5bf6951..54555a289a0 100644 --- a/gcc/testsuite/gcc.target/arm/vselvsdf.c +++ b/gcc/testsuite/gcc.target/arm/vselvsdf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ double diff --git a/gcc/testsuite/gcc.target/arm/vselvssf.c b/gcc/testsuite/gcc.target/arm/vselvssf.c index 7d762899cb3..a37305d2493 100644 --- a/gcc/testsuite/gcc.target/arm/vselvssf.c +++ b/gcc/testsuite/gcc.target/arm/vselvssf.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ +/* { dg-require-effective-target arm_arch_v8a_ok */ /* { dg-require-effective-target arm_v8_vfp_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mcpu=cortex-a57" } */ /* { dg-add-options arm_v8_vfp } */ float -- 2.30.2