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
This commit is contained in:
parent
bacc637a44
commit
f3ff7facf5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user