]> git.ipfire.org Git - thirdparty/gcc.git/commit
[testsuite,arm] target-supports.exp: Add arm_fp_dp_ok effective-target
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 23 Mar 2020 17:59:51 +0000 (17:59 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 24 Mar 2020 20:53:16 +0000 (20:53 +0000)
commit8001f59c82b98c4348e00183fe83621d649dafca
tree54d5e273d09f5d6a7106a7f3e7b8f5b21999f236
parent04099157691ec6ff25d8d32e30b04eec89dcf94b
[testsuite,arm] target-supports.exp: Add arm_fp_dp_ok effective-target

Some tests require double-precision support, but the existing
arm_fp_ok effective-target only checks if hardware floating-point is
available, not what level. So this patch adds a new arm_fp_dp_ok
effective-target to check that double-precision is supported.

2020-03-24  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
* doc/sourcebuild.texi (ARM-specific attributes): Add
arm_fp_dp_ok.
(Features for dg-add-options): Add arm_fp_dp.

gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_arm_fp_dp_ok_nocache): New.
(check_effective_target_arm_fp_dp_ok): New.
(add_options_for_arm_fp_dp): New.
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp