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

yarv-dev:525

From: SASADA Koichi <ko1 atdot.net>
Date: Wed, 29 Jun 2005 20:40:06 +0900
Subject: [yarv-dev:525] Re: Speed of various interpreter dispatch techniques V2

 ささだです。

SASADA Koichi wrote:
>>sub-		in-	
>>routine direct	direct	switch	call	CPU, Machine, gcc
>> 4.9	 5.6	 4.3	 5.1	 7.64	Pentium M 755 2GHz, gcc-3.4.2
> 
> で、direct よりも indirect が速いのはなんでだろう。分岐予測機が凄いのか
> な。ノートでやってみよう。

 試してみたら、平均で 3% くらい、direct threaded code のほうが速かった
です。
(Pentium M 1.2GHz、gcc (GCC) 3.4.4 (cygming special))


--
ML: yarv-dev quickml.atdot.net
使い方: http://www.atdot.net/~ko1/quickml

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

       524 2005-06-29 15:57 [ko1 atdot.net       ] Speed of various interpreter dispatch techniques V2
->     525 2005-06-29 20:40 ┗[ko1 atdot.net       ]