[Patch Prototype AArch64 ifcvt 4/3] Wire up the new if-convert costs hook for AArch64

James Greenhalgh james.greenhalgh@arm.com
Fri Sep 25 15:14:00 GMT 2015


Hi,

This patch is a simple prototype showing how a target might choose
to implement TARGET_COSTS_IFCVT_NOCE_IS_PROFITABLE_P.  It has not been
tuned, tested or looked at in any meaningful way.

While the patch is in need of more detailed analysis it is sufficient to
serve as an indication of what direction I was aiming for with this
patch set.

Clearly this is not OK for trunk without further work, but I thought I'd
include it as an afterthought for the costs rework.

Thanks,
James

---
2015-09-26  James Greenhalgh  <james.greenhalgh@arm.com>

	* config/aarch64/aarch64.c
	(aarch64_additional_branch_cost_for_probability): New.
	(aarch64_ifcvt_noce_profitable_p): Likewise.
	(TARGET_COSTS_IFCVT_NOCE_PROFITABLE_P): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Patch-Prototype-AArch64-ifcvt-4-3-Wire-up-the-new-if.patch
Type: text/x-patch
Size: 5388 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150925/37e41912/attachment.bin>


More information about the Gcc-patches mailing list