* wip-rtl extra space at allocation of frame at call's
@ 2012-08-12 21:05 Stefan Israelsson Tampe
0 siblings, 0 replies; only message in thread
From: Stefan Israelsson Tampe @ 2012-08-12 21:05 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-devel
[-- Attachment #1: Type: text/plain, Size: 943 bytes --]
Hi,
Currently if we want to compile to native code in the rtl branch the call
instruction is very heave to inline
directly. I would like to, when the number of arguments is less then 20
arguments jump to global code segment
where all the nessesary heavy lifting is done. Else the whole call
instruction can go in. So the issue here is that
I would like to move the alloc-frame part of the call instruction out to
the general code and simply just add the argumet's to their place and then
jump to this global code. The problem is that we need to check the stack
space before jumping and this checking is quite wordy and I would like to
keep the size if the inlined code small.
Therefore I suggest that always when we allocate stack space we take out 20
extra slots in the check, meaning that we do not need to check for these
slot's when the call.
At least that's what I plan to do in the native compilation.
Any other ideas?
/Stefan
>
>
[-- Attachment #2: Type: text/html, Size: 1182 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-12 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-12 21:05 wip-rtl extra space at allocation of frame at call's Stefan Israelsson Tampe
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).