[AArch64] Make aarch64_min_divisions_for_recip_mul configurable
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 1 May 2015 13:19:34 +0000 (13:19 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 1 May 2015 13:19:34 +0000 (13:19 +0000)
commit50093a330f9e4d1b816f77c4ff8bb0dcfea96549
tree0454c045f7a2e18b4854f39126344eedefb2a5a5
parente8b9138291b5070bb7740339e34e8b54cbcc879a
[AArch64] Make aarch64_min_divisions_for_recip_mul configurable

On behalf of Wilco Dijkstra

2015-05-01  Wilco Dijkstra  <wdijkstr@arm.com>

* gcc/config/aarch64/aarch64-protos.h (tune_params):
Add min_div_recip_mul_sf and min_div_recip_mul_df fields.
* gcc/config/aarch64/aarch64.c (aarch64_min_divisions_for_recip_mul):
Return value depending on target.
(generic_tunings): Initialize new target settings.
(cortexa53_tunings): Likewise.
(cortexa57_tunings): Likewise.
(thunderx_tunings): Likewise.
(xgene1_tunings): Likewise.

From-SVN: r222679
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c