Hi 
Can you give me your test code navier-strokes.js? 

在2023年11月29日星期三 UTC+8 16:04:28<qya...@ucsc.edu> 写道:

> Hi,
>
> I'm using V8's simulator to run riscv and arm. My question is why the 
> values of icount_ are so different between riscv simulator and arm 
> simulator.
> One of my target benchmarks is navier-strokes.js. The code size of this 
> bench in riscv is 1680 and in arm is 1388, but the icount_ I collect from 
> riscv and arm's simulators are 20942139 and 4421054. Therefore, it seems 
> that riscv simulator somehow executes much more instructions than arm, and 
> I don't know why.
> Besides, in pipeline.cc, there are 3 phases, namely PrepareJob, ExecuteJob 
> and FinalizeJob. I find that after the FinalizeJob phase, which should be 
> the exit of V8, riscv simulator doesn't exit, but runs again PrepareJob and 
> ExecuteJob phases. I'm guessing maybe that can explain why the icount_ of 
> riscv simulator is much bigger, but still wondering why this is happening. 
> Thanks for any instructions!
>
> Regards,
> Qiaowen Yang
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/385242d7-36e8-447d-a5e8-63d6813f2f23n%40googlegroups.com.

Reply via email to