Statistics
| Branch: | Revision:

root / target-sh4 @ 7fee199c

Name Size
README.sh4 4.8 kB
cpu.h 11.9 kB
exec.h 1.2 kB
helper.c 22.5 kB
helper.h 1.6 kB
machine.c 0 Bytes
op_helper.c 15.6 kB
translate.c 62 kB

Latest revisions

# Date Author Comment
618ba8e6 04/20/2011 11:37 am Stefan Weil

Remove unused function parameter from cpu_restore_state

The previous patch removed the need for parameter puc.
Is is now unused, so remove it.

Cc: Aurelien Jarno <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Stefan Weil <>

e87b7cb0 04/20/2011 11:33 am Stefan Weil

Remove unused function parameters from gen_pc_load and rename the function

Function gen_pc_load was introduced in commit
d2856f1ad4c259e5766847c49acbb4e390731bd4.
The only reason for parameter searched_pc was
a debug statement in target-i386/translate.c....

d6c424c5 04/12/2011 10:51 pm Aurelien Jarno

target-sh4: get rid of CPU_{Float,Double}U

SH4 is always using softfloat, so it's possible to have helpers directly
taking float32 or float64 value. This allow to get rid of conversions
through CPU_{Float,Double}U.

Signed-off-by: Aurelien Jarno <>

4b4a72e5 04/10/2011 01:45 am Stefan Weil

Fix conversions from pointer to tcg_target_long

tcg_gen_exit_tb takes a parameter of type tcg_target_long,
so the type casts of pointer to long should be replaced by
type casts of pointer to tcg_target_long (suggested by Blue Swirl).

These changes are needed for build environments where...

eda48c34 03/13/2011 04:44 pm Paolo Bonzini

inline cpu_halted into sole caller

All implementations are now the same, and there is only one caller,
so inline the function there.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Blue Swirl <>

efac4154 03/04/2011 12:33 am Aurelien Jarno

target-sh4: move intr_at_halt out of cpu_halted()

All targets except SH4 have the same cpu_halted() routine, and it has
only one caller. It is therefore a good candidate for inlining.

The difference is the handling of the intr_at_halt, which is necessary...

7026259f 02/04/2011 09:19 pm Aurelien Jarno

target-sh4: fix negc

Signed-off-by: Aurelien Jarno <>

9f97309a 01/26/2011 03:30 pm Aurelien Jarno

sh4: implement missing mmaped TLB write functions

Signed-off-by: Aurelien Jarno <>

bc656a29 01/26/2011 03:30 pm Aurelien Jarno

sh4: implement missing mmaped TLB read functions

Signed-off-by: Aurelien Jarno <>

e3f114f7 01/26/2011 03:30 pm Alexandre Courbot

target-sh4: update PTEH upon MMU exception

Update the PTEH register to contain the VPN at which an MMU
exception occured as specified by the SH4 reference.

Signed-off-by: Alexandre Courbot <>
Signed-off-by: Aurelien Jarno <>

View revisions

Also available in: Atom