[ARM] Switch to default sched pressure algorithm
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 14 Oct 2019 12:21:14 +0000 (12:21 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 14 Oct 2019 12:21:14 +0000 (12:21 +0000)
commitc7207339a7dbce5b68f872064e624dcf1639ba46
tree3fdec4e4d17c72bb738c9859b3454f12d7e6d46f
parent7bd8bec53f0e43c7a7852c54650746e65324514b
[ARM] Switch to default sched pressure algorithm

Currently the Arm backend selects the alternative sched pressure algorithm.
The issue is that this doesn't take register pressure into account, and so
it causes significant additional spilling on Arm where there are only 14
allocatable registers.  Building SPEC2006 showed significant codesize gains
with the default pressure algorithm, so switch back to that.  PR77308 shows
~800 fewer instructions.

SPECINT2006 is ~0.6% faster on Cortex-A57 together with the other DImode
patches. Overall SPEC codesize is 1.1% smaller.

    gcc/
* config/arm/arm.c (arm_option_override): Don't override sched
pressure algorithm.

From-SVN: r276960
gcc/ChangeLog
gcc/config/arm/arm.c