2010/1/14 Alexandre Rames <[email protected]>

> Hi,
>
> It seems the previous post about porting v8 to MIPS is too old and I
> can't post there anymore.
>
> I have started coding a MIPS simulator this week, and I am almost done
> with it. How was the ARM simulator tested? Testing thoroughly that
> every instruction behaves exactly as it should is quite some work, so
> if you have any other idea it would be welcome.
>

I think if it is capable of running V8 then that is fine.  In particular any
instructions that the V8 code generator doesn't generate don't need to be
implemented, though they should stop execution if they are encountered.  Any
tests you want to add in order to aid your development process should
probably be added as assembler tests like the ones in
test/cctest/test-assembler-*.cc.  They would test the simulator when run
under the simulator.


> I am also working on the disassembler, which should be working by the
> end of the week.
>

Sounds great.  There are some disassembler tests for the other architectures
in test/cctest/test-disasm*.cc.  They don't have very good coverage I am
afraid.


> This also means I could start sending some code so that somebody in
> the v8 team can review it (last time Erik Corry suggested himself or
> [email protected]). I think we could start with the assembly
> generation, simulator and disassembler stuff. I first need to do a
> little cleaning, so I think we could start everything next week if you
> are ok with it.



That sounds great!


-- 
Erik Corry
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to