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: Synthetic register related: consequences of changing Frame layout.


On Sunday 05 January 2003 05:40 am, Robert Dewar wrote:
<snip>
> Have you even looked at how code is currently
> generated. 

Yes.

> Registers are spilled to the local stack frame, and of course
> you get the normal 3-byte instructions to transfer to and from the spill
> locations.

With Synthetic registers, you also get a nice set of instructions to handle 
data directly in the Synthetic registers without needing any transfer to a 
natural register -- add, add immediate, xor, neg, rotr, to name a few.  
Another big plus is that Synthetic registers are directly used in 
instructions, instead of requiring a move from a spill location to a natural 
register before being used.

> There is too much general "I believe" guesswork in your approach
> and not enough hard knowledge. 

I can only agree.  

>From experience, I hope to gain wisdom.

Andy


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