This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
different ABI's for different functions
- From: Ilya Lesokhin <ilya dot lesokhin at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 20:27:56 +0200
- Subject: different ABI's for different functions
Hi,
I was wondering if i could use the "optimize" Function Attribute
with -fcall-saved-reg or -fcall-used-reg ?to get different ABI's for
different functions in the same compilation unit?
If i can't do it directly, can i call such function through inline
assembly and manually clobber the required register?
Thank,
Ilya.