This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[2/n] Partial IT block deprecation in ARMv8 AArch32 - define_cond_exec machinery


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.tkachov@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.

Attachment: 03-enablers.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]