On 05/06/13 15:41, Kyrylo Tkachov wrote:
Hi all,
This patch adds the attributes to arm.md that are used to control the
conditions under which we can predicate an insn.
We use the new attributes field for define_cond_exec that was defined in
a recent patch. Whenever an insn is predicated through define_cond_exec,
it has the attribute "predicated" set to "yes".
The "enabled" definition is updated to take "predicated" and
arm_restric_it into account to disable the predicated version when
appropriate.
Now, if we want to disable the predicated version of an alternative for
arm_restrict_it we leave the "predicable" attribute as "yes" and set the
"predicable_short_it" attribute to "no".
The enabled_for_depr_it attribute is used to disable alternatives in
some cases where explicit IT blocks are used in the output template.
Ok for trunk?
2013-06-05 Kyrylo Tkachov <kyrylo.tkac...@arm.com>
* config/arm/arm.md (enabled_for_depr_it): New attribute.
(predicable_short_it): Likewise.
(predicated): Likewise.
(enabled): Handle above.
(define_cond_exec): Set predicated attribute to yes.
OK.
R.