aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Tebbs <sam.tebbs@arm.com>2018-08-16 09:43:58 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2018-08-16 09:43:58 +0000
commit88e25f47696777d7e60737cd48095e7722a0145e (patch)
tree46e4e8883adeeeb6d087259c7801cb63cb106bbb
parentc553659e1c1d7418954c604be93ef593e77a52e1 (diff)
downloadgcc-88e25f47696777d7e60737cd48095e7722a0145e.zip
gcc-88e25f47696777d7e60737cd48095e7722a0145e.tar.gz
gcc-88e25f47696777d7e60737cd48095e7722a0145e.tar.bz2
[aarch64] Make common aarch64 options target-dependent
This patch replaces the "Common" attribute in some aarch64 options with "Target" to make them target-dependent. This doesn't affect their behaviour or how they are documented with "--help", but does mean that they follow the option specification that target-specific options are given the "Target" attribute. Tested by ensuring the changed options are still accepted as before and that they aren't invokable from an invalid target. Bootstrapped and regression tested on aarch64-none-elf with ... regressions. 2018-08-16 Sam Tebbs <sam.tebbs@arm.com> * config/aarch64/aarch64.opt (mlow-precision-recip-sqrt) (mlow-precision-sqrt, mlow-precision-div, mverbose-cost-dump): Replace "Common" with "Target". From-SVN: r263578
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/aarch64/aarch64.opt8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 609d28b..2831d6e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2018-08-16 Sam Tebbs <sam.tebbs@arm.com>
+
+ * config/aarch64/aarch64.opt (mlow-precision-recip-sqrt)
+ (mlow-precision-sqrt, mlow-precision-div, mverbose-cost-dump): Replace
+ "Common" with "Target".
+
2018-08-15 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.opt (mmitigate-rop): Mark as deprecated.
diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt
index bc9b22a..c8e8204 100644
--- a/gcc/config/aarch64/aarch64.opt
+++ b/gcc/config/aarch64/aarch64.opt
@@ -167,20 +167,20 @@ EnumValue
Enum(aarch64_ra_sign_scope_t) String(all) Value(AARCH64_FUNCTION_ALL)
mlow-precision-recip-sqrt
-Common Var(flag_mrecip_low_precision_sqrt) Optimization
+Target Var(flag_mrecip_low_precision_sqrt) Optimization
Enable the reciprocal square root approximation. Enabling this reduces
precision of reciprocal square root results to about 16 bits for
single precision and to 32 bits for double precision.
mlow-precision-sqrt
-Common Var(flag_mlow_precision_sqrt) Optimization
+Target Var(flag_mlow_precision_sqrt) Optimization
Enable the square root approximation. Enabling this reduces
precision of square root results to about 16 bits for
single precision and to 32 bits for double precision.
If enabled, it implies -mlow-precision-recip-sqrt.
mlow-precision-div
-Common Var(flag_mlow_precision_div) Optimization
+Target Var(flag_mlow_precision_div) Optimization
Enable the division approximation. Enabling this reduces
precision of division results to about 16 bits for
single precision and to 32 bits for double precision.
@@ -212,7 +212,7 @@ Target RejectNegative Joined Enum(sve_vector_bits) Var(aarch64_sve_vector_bits)
-msve-vector-bits=N Set the number of bits in an SVE vector register to N.
mverbose-cost-dump
-Common Undocumented Var(flag_aarch64_verbose_cost)
+Target Undocumented Var(flag_aarch64_verbose_cost)
Enables verbose cost model dumping in the debug dump files.
mtrack-speculation