This is the mail archive of the gcc@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]

Re: Painful problems with -fpic implementation on powerpc-sysv


>>>>> Geoff Keating writes:

Geoff> Reload sees that its choices are either:

Geoff> - load immediate value in GPRs, store value to memory, load FPR back
Geoff> from memory;  or
Geoff> - load FPR directly from memory.

Geoff> Naturally, it chooses the second.

	That is exactly my point.  reload has another alternative and is
*choosing* the load from memory based upon some cost analysis.  I propose
changing the cost analysis when in reload so that the value is
materialized in GPRs and transferred via stack memory instead of a
symbol_ref. 

David


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