[PATCH][AArch64] Improve aarch64_case_values_threshold setting

Wilco Dijkstra Wilco.Dijkstra@arm.com
Mon Apr 25 19:21:00 GMT 2016


Evandro Menezes wrote:
> I assume that you mean that such improvements are true for
> -mcpu=generic, yes?  On which target, A53 or A57 or other?

It's true for any CPU setting. The SPEC results are for Cortex-A57
however I wrote a microbenchmark that shows improvements on 
all targets I have access to. The GCC switch expansion is awful, so
even with a good indirect predictor it is better to use conditional
branches.

Wilco






More information about the Gcc-patches mailing list