Heya Ludovic,

On Mon 14 May 2012 23:09, l...@gnu.org (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