Magnus Damm wrote: > Hi everyone, > > Here comes a few more patches for the sh4 emulator. The should be > applied on top of the patches that I posted a few weeks ago: > > http://www.mail-archive.com/qemu-devel@nongnu.org/msg10830.html > > Good news is that the user space emulator is in a much better shape > now - with all the patches applied I'm successfully running a static > busybox binary compiled for sh4 using qemu-sh4. > > The method used to locate emulation bugs may be of value for other > fellow qemu hackers. I've written a small gdb script that single steps > in an endless loop dumping registers between each instruction. Then > I've used this script on both real target hardware (using gdbserver) > and using the gdbstub provided by qemu. Finally the traces have been > compared. I have more patches for this if anyone is interested... > > The patches attached in this email contain the following fixes: > > - sh4: Emulate more fpu opcodes > - sh4: Swap word order when accessing double floats
Doesn't this one also depend on the host endianness? Thiemo