Hi Wilco,

On 25/04/16 20:21, Wilco Dijkstra wrote:
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.

In what way is it awful? If there's something we can do better at
can you file a bug report with a testcase so that we can work on
improving it rather than tweaking a heuristic in the backend.
(Not that I'm against your patch ;)

Cheers,
Kyrill

Wilco





Reply via email to