qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH]: sh4 delay slot code update


From: Magnus Damm
Subject: [Qemu-devel] [PATCH]: sh4 delay slot code update
Date: Wed, 28 Nov 2007 18:54:20 +0900

Hi everyone,

This patch updates the delay slot handling for the sh4 target.

The main feature is that delay slot flags now are stored in the tlb.
This is needed for signal emulation and interrupts. There are also
some correctness fixes included in this patch - with this patch
applied i'm able to run quite a few dynamically linked busybox applets
(uclibc). Some of these applets were broken without this fix. I've ran
the sh4 binaries included in linux-user-test-0.2 and they work as
usual.

Some code and ideas come from the mips target. This is done to make
the sh4 code less special and more readable for people coming from
that architecture.

 cpu-exec.c             |    4 -
 target-sh4/cpu.h       |   18 +++----
 target-sh4/op.c        |   54 +++++++----------------
 target-sh4/translate.c |  112 ++++++++++++++++++++++++++++++------------------
 translate-all.c        |    5 +-
 5 files changed, 104 insertions(+), 89 deletions(-)

Please apply! Thank you.

/ magnus

Attachment: qemu-cvs-20071128c-sh-delay-slot.patch
Description: Binary data


reply via email to

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