This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Improve aarch64_case_values_threshold setting
- From: Evandro Menezes <e dot menezes at samsung dot com>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 25 Apr 2016 13:58:02 -0500
- Subject: Re: [PATCH][AArch64] Improve aarch64_case_values_threshold setting
- Authentication-results: sourceware.org; auth=none
- References: <AM3PR08MB008846A786228571DC6E0731836F0 at AM3PR08MB0088 dot eurprd08 dot prod dot outlook dot com>
On 04/22/16 11:15, Wilco Dijkstra wrote:
This patch fixes that by setting the default aarch64_case_values_threshold to
16 when the per-CPU tuning is not set. On SPEC2006 this improves the switch
heavy benchmarks GCC and perlbench both in performance (1-2%) as well as size
(0.5-1% smaller).
I assume that you mean that such improvements are true for
-mcpu=generic, yes? On which target, A53 or A57 or other?
Otherwise, it seems to be a sensible change, but I'm trying to
understand how generally beneficial it is.
Thank you,
--
Evandro Menezes