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] Fix HPPA/PARISC 32-bit Linux kernel build


The attached patch fixes a reload error in one of the new 64-bit atomic patterns in a 32-bit kernel build.

Kernel builds disable the use of floating point registers with -mdisable-fpregs.  The atomic patterns need
to use floating point loads and stores and should have been disabled when -mdisable-fpregs was specified.

Although no atomic instructions were explicitly used by the code, the atomic pattern in question was created
during cse1.  In general, we want to use the normal floating point patterns.  So, I moved the atomic patterns
to the end of pa.md.

Tested on hppa-unknown-linux-gnu, hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 with no observed
regressions.  Committed to trunk and gcc-5 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]