[J-core] qemu updates / roadmap

Christopher Friedt chrisfriedt at gmail.com
Fri May 20 10:21:45 EDT 2016


On Fri, May 20, 2016 at 7:36 AM, Christopher Friedt
<chrisfriedt at gmail.com> wrote:
>
> On May 19, 2016 5:16 PM, "Christopher Friedt" <chrisfriedt at gmail.com> wrote:
>> https://github.com/cfriedt/qemu/tree/feature/j2-sh2-dirty-hacks
>
> That branch is now passing CAS tests.
>
> Hitting 'mova' corner cases now.

Ugh... the MOVA corner cases (_testmov2) seem to be a bit trickier.
I'm dealing with that in

https://github.com/cfriedt/qemu/tree/for-j2-sh2-dirty-hacks

right now, although it isn't yet clear to me if this is a delay slot
issue or a separate quirk.

According to the SH12 programming manual:
"If this instruction is placed immediately after a delayed branch
instruction, the PC must point to an address specified by (the
starting address of the branch destination) + 2."

Running into so many failing corner cases (in the original SH Qemu
port) was not something I anticipated. Sorry for any delays that may
result.

I think I'll ping-pong between "for-j2-sh2-dirty-hacks " and
"feature/j2-sh2-dirty-hacks" for a while, adding support to
"feature/j2-sh2-dirty-hacks" as I go along. Any pointers are welcome.

Cheers,

C


More information about the J-core mailing list