[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev-en:224

From: SASADA Koichi <ko1 atdot.net>
Date: Thu, 26 Oct 2006 17:49:48 +0900
Subject: [yarv-dev-en:224] Re: Missing setn instruction on web

Hi,

Charles Oliver Nutter wrote:
> The list of instructions on the web doesn't appear to have "setn",
> though it shows up in insns.def.

Web list is not updated.  This update is manually.

> Also, does "setn" pop the value at the top when it sets the nth element
> in the stack? It didn't seem clear from the instruction definition:
> 
> DEFINE_INSN
> setn
> (num_t n)
> (..., VALUE val)
> (VALUE val) // inc += 0
> {
>     GET_SP()[-n] = val;
> }

x x x x x t
          ^ sp

setn 3 #=>

x x t x x t
          ^ sp

-- 
// SASADA Koichi at atdot dot net


--
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

       223 2006-10-26 15:17 [charles.nutter sun.c] Missing setn instruction on web         
->     224 2006-10-26 17:49 ┗[ko1 atdot.net       ]