提交 f3ff7fac 编写于 作者: A aurel32

target-sh4: don't disable FPU instructions in user mode

Based on a patch from Lionel Landwerlin.
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6015 c046a42c-6fe2-441c-8c8c-71466251a162
上级 bacc637a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册