[testsuite,arm] use arm_fp_dp_ok effective-target
Switch to arm_fp_dp_ok effective-target in tests that require double-precision support from the FPU. 2020-03-24 Christophe Lyon <christophe.lyon@linaro.org> gcc/testsuite/ * gcc/arm/vfp-1.c: Use arm_fp__ok effective-target. * gcc.target/arm/vfp-ldmdbd.c: Likewise. * gcc.target/arm/vfp-ldmiad.c: Likewise. * gcc.target/arm/vfp-stmdbd.c: Likewise. * gcc.target/arm/vfp-stmiad.c: Likewise. * gcc.target/arm/vnmul-1.c: Likewise. * gcc.target/arm/vnmul-3.c: Likewise. * gcc.target/arm/vnmul-4.c: Likewise.
This commit is contained in:
parent
2a0eaca3e9
commit
07f8bcc6ea
9 changed files with 27 additions and 16 deletions
|
@ -1,3 +1,14 @@
|
|||
2020-03-24 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
|
||||
* gcc/arm/vfp-1.c: Use arm_fp__ok effective-target.
|
||||
* gcc.target/arm/vfp-ldmdbd.c: Likewise.
|
||||
* gcc.target/arm/vfp-ldmiad.c: Likewise.
|
||||
* gcc.target/arm/vfp-stmdbd.c: Likewise.
|
||||
* gcc.target/arm/vfp-stmiad.c: Likewise.
|
||||
* gcc.target/arm/vnmul-1.c: Likewise.
|
||||
* gcc.target/arm/vnmul-3.c: Likewise.
|
||||
* gcc.target/arm/vnmul-4.c: Likewise.
|
||||
|
||||
2020-03-24 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
|
||||
* gcc.target/arm/cmp-2.c: Move double-precision tests to...
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-options "-O2 -ffp-contract=off" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
|
||||
extern float fabsf (float);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
|
||||
extern void bar (double);
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
|
||||
extern void bar (double);
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
|
||||
void
|
||||
foo (double *p, double a, double b, int n)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
|
||||
void
|
||||
foo (double *p, double a, double b, int n)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
/* { dg-options "-O2 -fno-rounding-math" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
|
||||
double
|
||||
foo_d (double a, double b)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
/* { dg-options "-O2 -fno-rounding-math" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
|
||||
double
|
||||
foo_d (double a, double b)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_fp_ok } */
|
||||
/* { dg-require-effective-target arm_fp_dp_ok } */
|
||||
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
|
||||
/* { dg-options "-O2 -frounding-math" } */
|
||||
/* { dg-add-options arm_fp } */
|
||||
/* { dg-add-options arm_fp_dp } */
|
||||
|
||||
double
|
||||
foo_d (double a, double b)
|
||||
|
|
Loading…
Add table
Reference in a new issue