[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] sh4: more patches

From: Magnus Damm
Subject: [Qemu-devel] sh4: more patches
Date: Fri, 22 Jun 2007 16:44:57 +0900

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:


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
- sh4: Document FPSCR usage
- sh4: Ignore PR flag in FPSCR when performing fmov
- sh4: Use DREG() instead of XREG() wherever possible

Could someone please comment or commit? =)

Thank you!

/ magnus

Attachment: qemu-cvs_20070611-sh4-fpu-ops.patch
Description: Binary data

Attachment: qemu-cvs_20070611-sh4-fpu-word-order.patch
Description: Binary data

Attachment: qemu-cvs_20070507-sh4-fpu-fpscr-comments.patch
Description: Binary data

Attachment: qemu-cvs_20070622-sh4-fpu-fmov-ignore-fpscr-pr.patch
Description: Binary data

Attachment: qemu-cvs_20070508-sh4-dreg-fixes.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]