Collin Funk wrote:
> I haven't run 'make check' since I do not have access to a sh4 machine.

Neither do I, but ...

> One could do the following in a debian container:
> 
>    $ apt install gcc-sh4-linux-gnu gcc-sh4-linux-gnu libc6-sh4-cross
>    $ apt install qemu-system qemu-user-binfmt
>    $ export QEMU_LD_PREFIX='/usr/sh4-linux-gnu'

Yes, that's how I test on sh4 too. I build my QEMU binaries myself
(since QEMU is evolving quickly) and configure binfmt through
$ sudo update-binfmts --install qemu-sh4 .../bin/qemu-sh4 --magic 
'\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a\x00'
 --mask 
'\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'
 --offset 0 --credential no

> But I think I recall you saying that qemu's floating point emulation
> isn't perfect.

Correct. But here all tests pass. Probably because they are not using
transcendental functions.

Bruno




Reply via email to