wip-rtl return location

2012-08-02 Thread Andy Wingo
Hi, Some brief thoughts on the wip-rtl branch. Currently it has this strange "return location" thing, where it specifies the register(s) to which to return value(s), and the number of expected values and whether it expects a rest list or not. Problem is, this return location is like a little pro

Re: wip-rtl return location

2012-08-02 Thread Noah Lavine
That sounds interesting, but I have a question - why not make the MVRA return address immediately after the call, instead of immediately before it? In the common case when returning to the regular return address, that would eliminate the extra branch (although it's a very small branch anyway). I w

Re: wip-rtl return location

2012-08-02 Thread Mark H Weaver
Hi Andy, thanks for the update! Exciting times for Guile :) On 08/02/2012 10:29 AM, Andy Wingo wrote: Instead I'd rather just use Dybvig's suggestion: every call instruction is preceded by an MV return address. For e.g. (values (f)), calling `f' would be: ... goto CALL MVRA: tr