This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] hppa: Fix handling of secondary reloads for floating-point loads and stores


In rare situations, pa_emit_move_sequence needs to handle a paradoxical SUBREG in a floating-point load or store.  There is existing code to adjust the operand's address but we fail to emit the reload if we don't need to load the address to a register.  We just
fall through pa_emit_move_sequence and emit the original operand.

This patch revises the handling of these reloads to always  emit the reload with the
adjusted operand.

Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11.  Committed to trunk.

Dave

--
John David Anglin  dave.anglin@bell.net

Attachment: pr83451-2.d
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]