]> git.proxmox.com Git - qemu.git/blobdiff - target-mips/translate_init.c
target-mips: fix user-mode emulation startup
[qemu.git] / target-mips / translate_init.c
index 6f50555e2d5216789a82a840b37f44ed4f5766b0..11bc47c0a35c620bd03070f338df981445b0d49c 100644 (file)
@@ -533,14 +533,6 @@ static void fpu_init (CPUMIPSState *env, const mips_def_t *def)
         env->fpus[i].fcr0 = def->CP1_fcr0;
 
     memcpy(&env->active_fpu, &env->fpus[0], sizeof(env->active_fpu));
-#if defined(CONFIG_USER_ONLY)
-    if (env->CP0_Config1 & (1 << CP0C1_FP))
-        env->hflags |= MIPS_HFLAG_FPU;
-#ifdef TARGET_MIPS64
-    if (env->active_fpu.fcr0 & (1 << FCR0_F64))
-        env->hflags |= MIPS_HFLAG_F64;
-#endif
-#endif
 }
 
 static void mvp_init (CPUMIPSState *env, const mips_def_t *def)