AArch64: Tune case-values-threshold
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 20 Oct 2021 12:16:54 +0000 (13:16 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Wed, 20 Oct 2021 12:38:12 +0000 (13:38 +0100)
commit9c751b88def09f71e1edbf623d41776478ead6fd
tree023d04d68dfc1481483bb0dc2d736f239c51e655
parentc437d3340d21c0c47537aca91e3546d2d6f1ae02
AArch64: Tune case-values-threshold

Tune the case-values-threshold setting for modern cores.  A value of 11 improves
SPECINT2017 by 0.2% and reduces codesize by 0.04%.  With -Os use value 8 which
reduces codesize by 0.07%.

2021-10-18  Wilco Dijkstra  <wdijkstr@arm.com>

gcc/
* config/aarch64/aarch64.c (aarch64_case_values_threshold):
Change to 8 with -Os, 11 otherwise.
gcc/config/aarch64/aarch64.c