CRIS-LRA: Define TARGET_SPILL_CLASS
commite88d9e826ee68219dd4dbb2c0d8bdaee0a864301
authorHans-Peter Nilsson <hp@axis.com>
Sat, 18 Feb 2023 04:19:21 +0000 (18 05:19 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Thu, 4 May 2023 00:43:26 +0000 (4 02:43 +0200)
treefd3fbdc01bec34568d95f392d9f4eec3079470f0
parent9525daf0fbc5c836ee028f5b58612857de7da51d
CRIS-LRA: Define TARGET_SPILL_CLASS

This has no effect on arith-rand-ll (which suffers badly from LRA) and
marginal effects (0.01% improvement) on coremark, but the size of
coremark shrinks by 0.2%.  An earlier version was tested with a tree
around 2023-03 which showed (marginally) that ALL_REGS is preferable
to GENERAL_REGS.

* config/cris/cris.cc (TARGET_SPILL_CLASS): Define
to ALL_REGS.
gcc/config/cris/cris.cc