public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* best ABI strategy ?
@ 2011-11-30 16:18 Aurelien Buhrig
  2011-11-30 16:57 ` Georg-Johann Lay
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Aurelien Buhrig @ 2011-11-30 16:18 UTC (permalink / raw)
  To: gcc-help

Hi,

I'm trying to optimize our target ABI, and I'm wondering what is the
best strategy to define it.
Is there a paper, or any hint, dealing with this topic ?
For instance,
- which ratio between call-used-reg vs "static regs"
- which ratio between arg regs vs call-used-reg
- what should be return regs
- ...
I guess this problem is very target dependent, but there are maybe
general ideas about this.


In particular, for now my call-used regs set is the same that arg regs
set. I noticed GCC would not use arg regs for reloading, (or would
prefer others), even if they are not actually used by function args.
and it generates extra push/pop of static regs. I there a way force
gcc preferring using "free" arg regs ?

Thank you by advance!

Aurélien

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-01 13:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-30 16:18 best ABI strategy ? Aurelien Buhrig
2011-11-30 16:57 ` Georg-Johann Lay
2011-11-30 21:18   ` Aurelien Buhrig
2011-11-30 18:49 ` Aurelien Buhrig
     [not found] ` <mcrfwh5saxu.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
2011-12-01 13:09   ` Aurelien Buhrig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).