aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-sh4/cpu.h')
-rw-r--r--target-sh4/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h
index d99ff8e802..c71af74373 100644
--- a/target-sh4/cpu.h
+++ b/target-sh4/cpu.h
@@ -27,6 +27,8 @@
#include "cpu-defs.h"
+#include "softfloat.h"
+
#define TARGET_PAGE_BITS 12 /* 4k XXXXX */
#define SR_MD (1 << 30)
@@ -90,6 +92,10 @@ typedef struct CPUSH4State {
uint32_t fpscr; /* floating point status/control register */
uint32_t fpul; /* floating point communication register */
+ /* temporary float registers */
+ float32 ft0, ft1;
+ float64 dt0, dt1;
+
/* Those belong to the specific unit (SH7750) but are handled here */
uint32_t mmucr; /* MMU control register */
uint32_t pteh; /* page table entry high register */