[Patch AArch64 Obvious] Unify branch costs to generic_branch_cost

James Greenhalgh james.greenhalgh@arm.com
Wed Jul 26 17:41:00 GMT 2017


Hi,

All the cores in AArch64 use the pair {1, 3} for their branch costs. As
that is covered by generic_branch_cost, we can just use that directly and
save the tiny amount of redundant code. If in future any core wants to
modify this, they can always add a special-case branch-cost back.

Comitted as obvious as revision 250582 after a build-and-test.

Thanks,
James

---
2017-07-26  James Greenhalgh  <james.greenhalgh@arm.com>

	* config/aarch64/aarch64.c (cortexa57_branch_cost): Remove.
	(thunderx2t99_branch_cost): Likewise.
	(cortexa35_tunings): Update to use generic_branch_cost.
	(cortexa53_tunings): Likewise.
	(cortexa57_tunings): Likewise.
	(cortexa72_tunings): Likewise.
	(cortexa73_tunings): Likewise.
	(thunderx2t99_tunings): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Patch-AArch64-Obvious-Unify-branch-costs-to-generic_.patch
Type: text/x-patch
Size: 2421 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170726/437d8103/attachment.bin>


More information about the Gcc-patches mailing list