mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-01 23:54:54 -07:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue