making naked attr generally available

Nick Ing-Simmons nik@tiuk.ti.com
Tue Jun 1 02:16:00 GMT 1999


Jeffrey A Law <law@cygnus.com> writes:
>
>I think there is a place in gcc for both a naked attribute and some way to
>specify the precise set of registers one wants to save (for functions which
>have prologues).

I think it would be good to allow architecture specific "interrupt" functions
too. i.e. :

save all regs used (leaf functions), or _all_ regs (non-leaf)
use appropriate RETI insn in epilogue.

>
>jeff
-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.



More information about the Gcc mailing list