hppa: Fix integer REG+D address reloads
commita89224f819381b77657145fdd8b1d997b989fdc0
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 22 Nov 2023 19:47:34 +0000 (22 19:47 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 22 Nov 2023 19:47:34 +0000 (22 19:47 +0000)
treebdb51caa09e38d1f430c196e466d699e07b60da1
parent3f266c84a15d63e42bfad46397fea9aff92b0720
hppa: Fix integer REG+D address reloads

I made a mistake in the previous change to integer_store_memory_operand.
There is no support pa_emit_move sequence to handle secondary reloads of
integer REG+D instructions.  Further, the Q constraint is used for some
non-simple instructions (movb and addib).  Thus, we need to return true
when reload is in progress.

2023-11-22  John David Anglin  <danglin@gcc.gnu.org>

gcc/ChangeLog:

PR target/112617
* config/pa/predicates.md (integer_store_memory_operand): Return
true for REG+D addresses when reload_in_progress is true.
gcc/config/pa/predicates.md