[J-core] working on SH-2 emulator.

D. Jeff Dionne Jeff at SE-Instruments.com
Mon Sep 5 00:14:12 EDT 2016


I second all of that, but with one caveat: qemu doesn't try to be pipeline accurate, and I'm not even sure I know what that means as soon as you are multi issue.  What I think you really mean is ISA internal state consistent, which (unfortunately)  does expose a bit of pipeline state the way the ISA was originally designed.

What I personally would like to see is if someone could take ownership of the test rom, which was originally done by someone who had an itch to scratch ;) and extend it with corner cases...

Cheers,
J.

> On Sep 5, 2016, at 09:19, Christopher Friedt <chrisfriedt at gmail.com> wrote:
> 
> I might suggest you try improving support for SH2 / J2 in Qemu rather than writing your own emulator.
> 
> If you feel up to the task, take a look at my branch.
> 
> https://github.com/cfriedt/qemu/branches/all
> 
> Also take a look at some of the previous mailing list history. You *should* run the boot ROM, as it's a very good way to determine whether or not an emulator correctly mimics the internal state of the SH2 pipeline. Unfortunately, Qemu currently does not.
> 
> C
> 
> _______________________________________________
> J-core mailing list
> J-core at lists.j-core.org
> http://lists.j-core.org/mailman/listinfo/j-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.j-core.org/pipermail/j-core/attachments/20160905/b3036698/attachment.html>


More information about the J-core mailing list