Re: how to configure GCC to have caller save registers instead of callee prologue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ top-post not please do ]

On Wed, Aug 07, 2019 at 10:48:58AM -0500, William Tambe wrote:
> To expand on my previous reply, I would like to configure GCC so that
> a callee does not need to save and restore registers that it is using
> other than the frame-pointer and return-pointer registers.
> The callee would not need to save and restore registers that it is
> using because it would be assumed that the caller has saved all
> registers that it is using.

Then you need to define a new ABI for your target, and implement that
in your target's GCC backend.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux