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/9fdceeb2-333a-470e-9d33-c1508608861en%40googlegroups.com.

Reply via email to