aboutsummaryrefslogtreecommitdiff
path: root/target-sh4
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-13 19:27:14 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-13 19:27:14 +0000
commitf3ff7facf5d41432324606ebb850f1b6dd94c0d2 (patch)
tree3f6b4b128a8cc879e7b16c5939fe6893ea1a5409 /target-sh4
parentbacc637a448e984d538004e3962411e27cd6b42c (diff)
target-sh4: don't disable FPU instructions in user mode
Based on a patch from Lionel Landwerlin. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6015 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r--target-sh4/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index 55b6c439c0..2ff7590560 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -185,7 +185,7 @@ void cpu_dump_state(CPUState * env, FILE * f,
static void cpu_sh4_reset(CPUSH4State * env)
{
#if defined(CONFIG_USER_ONLY)
- env->sr = SR_FD; /* FD - kernel does lazy fpu context switch */
+ env->sr = 0;
#else
env->sr = 0x700000F0; /* MD, RB, BL, I3-I0 */
#endif