aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2020-12-01 11:21:33 +0100
committerAndrea Corallo <andrea.corallo@arm.com>2020-12-11 15:24:50 +0100
commit33314b11ca2ef1bacc1f5d82c58fae23a1d818ef (patch)
tree03fbd1320edb5f4105253ef66bbf587d111592cb
parent695b8d281ad1ec96fb84b67e46aa42d065bccc43 (diff)
downloadgcc-33314b11ca2ef1bacc1f5d82c58fae23a1d818ef.zip
gcc-33314b11ca2ef1bacc1f5d82c58fae23a1d818ef.tar.gz
gcc-33314b11ca2ef1bacc1f5d82c58fae23a1d818ef.tar.bz2
arm: Improve documentation for effective target 'arm_softfloat'
gcc/ChangeLog 2020-12-01 Andrea Corallo <andrea.corallo@arm.com> * doc/sourcebuild.texi (arm_softfloat): Improve documentation. gcc/testsuite/ChangeLog 2020-12-01 Andrea Corallo <andrea.corallo@arm.com> * lib/target-supports.exp (check_effective_target_arm_softfloat): Improve documentation.
-rw-r--r--gcc/doc/sourcebuild.texi3
-rw-r--r--gcc/testsuite/lib/target-supports.exp4
2 files changed, 3 insertions, 4 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 586dce7..8617a86 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -1799,8 +1799,7 @@ variant of the ABI for the ARM Architecture (as selected with
@code{-mfloat-abi=hard}).
@item arm_softfloat
-ARM target uses the soft-float ABI with no floating-point instructions
-used whatsoever (as selected with @code{-mfloat-abi=soft}).
+ARM target uses emulated floating point operations.
@item arm_hard_vfp_ok
ARM target supports @code{-mfpu=vfp -mfloat-abi=hard}.
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 89c4f67..fb161a1 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -5658,8 +5658,8 @@ proc check_effective_target_arm_hf_eabi { } {
}]
}
-# Return 1 if this is an ARM target that uses the soft float ABI
-# with no floating-point instructions at all (e.g. -mfloat-abi=soft).
+# Return 1 if this is an ARM target uses emulated floating point
+# operations.
proc check_effective_target_arm_softfloat { } {
return [check_no_compiler_messages arm_softfloat object {