aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>2014-06-05 07:51:31 +0000
committerRamana Radhakrishnan <ramana@gcc.gnu.org>2014-06-05 07:51:31 +0000
commit63e70d3cfbe04bc4eee6d3332552763a50409711 (patch)
tree6e8c9d25b95145cb23e5032f4c4b4686d3eda053
parent742938c911864563a8b04b95cbcf53d8f12a4ef9 (diff)
downloadgcc-63e70d3cfbe04bc4eee6d3332552763a50409711.zip
gcc-63e70d3cfbe04bc4eee6d3332552763a50409711.tar.gz
gcc-63e70d3cfbe04bc4eee6d3332552763a50409711.tar.bz2
Disable opt_enabled attribute.
2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.md (enabled): Disable opt_enabled attribute. From-SVN: r211256
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm.md14
2 files changed, 15 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8cb47dd..ca24af0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
+
+ * config/arm/arm.md (enabled): Disable opt_enabled attribute.
+
2014-06-05 Marek Polacek <polacek@redhat.com>
PR c/49706
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index bec889a..f58a79b 100644
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -201,6 +201,17 @@
(const_string "no")))
; Enable all alternatives that are both arch_enabled and insn_enabled.
+; FIXME:: opt_enabled has been temporarily removed till the time we have
+; an attribute that allows the use of such alternatives.
+; This depends on caching of speed_p, size_p on a per
+; alternative basis. The problem is that the enabled attribute
+; cannot depend on any state that is not cached or is not constant
+; for a compilation unit. We probably need a generic "hot/cold"
+; alternative which if implemented can help with this. We disable this
+; until such a time as this is implemented and / or the improvements or
+; regressions with removing this attribute are double checked.
+; See ashldi3_neon and <shift>di3_neon in neon.md.
+
(define_attr "enabled" "no,yes"
(cond [(and (eq_attr "predicable_short_it" "no")
(and (eq_attr "predicated" "yes")
@@ -216,9 +227,6 @@
(const_string "no")
(eq_attr "arch_enabled" "no")
- (const_string "no")
-
- (eq_attr "opt_enabled" "no")
(const_string "no")]
(const_string "yes")))