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]
Other format: [Raw text]

Re: Avoiding REG+OFF memory accesses


Perfect, thank you!




----- Original Message ----
From: Michael Meissner <meissner@linux.vnet.ibm.com>
To: Iceman <iceman_dvd@yahoo.com>
Cc: Michael Meissner <meissner@linux.vnet.ibm.com>; Ian Lance Taylor <iant@google.com>; gcc@gnu.org
Sent: Friday, May 8, 2009 3:45:20 PM
Subject: Re: Avoiding REG+OFF memory accesses

On Fri, May 08, 2009 at 02:05:18PM -0700, Iceman wrote:
> 
> Ian suggestion worked perfectly, thanks. Can you tell me the macro/function name to look up
> to work out the secondary reload you're mentioning?

Look up TARGET_SECONDARY_RELOAD in the documentation.  Basically it is a hook
that is called and the backend can say it needs extra scratch registers for a
move, or whether it needs to load a value into another register class.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com



      


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