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]

Does IRA support spilling to registers instead of stack?


Hello,

Does gcc IRA provide a mechanism to support spilling to registers instead of the stack?  For the particular target I'm looking at, there are some non-general-purpose registers that can be copied to and from more quickly than the stack, so would be preferable to use as a form of shareable spill slot in some cases.  One limitation, which is perhaps a significant one, is that these registers are not callee save, so one would only want to save to and restore from them when there is no intervening function call. If there is no current support for such a mechanism, any opinions on the value and practicality of adding one would be much appreciated.

Thanks, Don


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