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: Add new shift/add patterns


The attached change fixes an obscure reload problem compiling hash.c in racket-6.7.  This occurs
when we to load the address of a DFmode MEM with a scaled-indexed address to integer registers.
Although we prefer ASHIFT to MULT, MULT is still used in memory addresses and we need to handle
this form either directly as an insn pattern or as a secondary reload.

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

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


Attachment: pa.md.d.txt
Description: Text document


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