guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Register VM WIP


From: Andy Wingo
Subject: Re: Register VM WIP
Date: Tue, 15 May 2012 20:49:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Heya Ludovic,

On Mon 14 May 2012 23:09, address@hidden (Ludovic Courtès) writes:

>        6    (local-ref 1)
>        8    (make-int8:0)
>        9    (ee?)                           
>       10    (local-set 2)   ;;
>       12    (local-ref 2)   ;; → use ‘local-set* 2’, which doesn’t pop
>       14    (br-if-not :L187)               ;; -> 21

The register VM will do a br-if-= N M ! :LABEL, where ! is a flag
indicating that the test is inverted.  It addresses the operands
directly in registers, no need to push test values.  But yes, there are
places we could win, like local-sub1 and local-mov, as you say.

Regards,

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]