Commit da787dec by Ramana Radhakrishnan Committed by Ramana Radhakrishnan

arm.md (enabled): Test the value of arch_enabled rather than just using it.


2010-08-27  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.md (enabled): Test the value of arch_enabled
        rather than just using it.

From-SVN: r163585
parent e240f0f4
2010-08-27 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.md (enabled): Test the value of arch_enabled
rather than just using it.
2010-08-27 Olivier Hainque <hainque@adacore.com> 2010-08-27 Olivier Hainque <hainque@adacore.com>
Eric Botcazou <ebotcazou@adacore.com> Eric Botcazou <ebotcazou@adacore.com>
......
...@@ -234,10 +234,12 @@ ...@@ -234,10 +234,12 @@
(const_string "yes")) (const_string "yes"))
; Enable all alternatives that are both arch_enabled and insn_enabled. ; Enable all alternatives that are both arch_enabled and insn_enabled.
(define_attr "enabled" "no,yes" (define_attr "enabled" "no,yes"
(if_then_else (eq_attr "insn_enabled" "yes") (if_then_else (eq_attr "insn_enabled" "yes")
(attr "arch_enabled") (if_then_else (eq_attr "arch_enabled" "yes")
(const_string "no"))) (const_string "yes")
(const_string "no"))
(const_string "no")))
; POOL_RANGE is how far away from a constant pool entry that this insn ; POOL_RANGE is how far away from a constant pool entry that this insn
; can be placed. If the distance is zero, then this insn will never ; can be placed. If the distance is zero, then this insn will never
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment