hppa: Update peephole2 patterns for scaled/unscaled indexed loads and stores
The peephole2 patterns to optimize scaled/unscaled indexed loads and
stores are updated to ensure the REG_POINTER flag is set/unset in
the base/index regs on targets with non-equivalent space registers.
Previously, unscaled indexed loads and stores were only optimized on
targets with equivalent space registers. We can now optimize these
instructions on targets with non-equivalent space registers.
2025-11-24 John David Anglin <danglin@gcc.gnu.org>
gcc/ChangeLog:
* config/pa/pa.h (REGS_OK_FOR_BASE_INDEX): New define.
* config/pa/pa.md: Update peephole2 patterns for scaled/unscaled
indexed loads and stores.