CRIS-LRA: Fix uses of reload_in_progress
commit43c45706f2fabca58e3449ec5bb60462bf4e5614
authorHans-Peter Nilsson <hp@axis.com>
Mon, 30 Jan 2023 00:53:19 +0000 (30 01:53 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Thu, 4 May 2023 00:05:26 +0000 (4 02:05 +0200)
tree7a2c23719808efba23d8ca7597b9e0c4291c195a
parentb51e2fd65e47e61c09b5fab70d9bb9bfffd0d61e
CRIS-LRA: Fix uses of reload_in_progress

This shows no difference neither in arith-rand-ll nor coremark
numbers.  Comparing libgcc and newlib libc before/after, the only
difference can be seen in a few functions where it's mostly neutral
(newlib's _svfprintf_r et al) and one function (__gdtoa), which
improves ever so slightly (four bytes less; one load less, but one
instruction reading from memory instead of a register).

* config/cris/cris.cc (cris_side_effect_mode_ok): Use
lra_in_progress, not reload_in_progress.
* config/cris/cris.md ("movdi", "*addi_reload"): Ditto.
* config/cris/constraints.md ("Q"): Ditto.
gcc/config/cris/constraints.md
gcc/config/cris/cris.cc
gcc/config/cris/cris.md