]> Git Repo - qemu.git/commitdiff
target/mips: Honor CPU_DUMP_FPU
authorRichard Henderson <[email protected]>
Fri, 11 May 2018 03:14:30 +0000 (20:14 -0700)
committerRichard Henderson <[email protected]>
Fri, 18 May 2018 21:52:38 +0000 (14:52 -0700)
Cc: Aurelien Jarno <[email protected]>
Cc: Yongbok Kim <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target/mips/translate.c

index f1c1fdd35c99d930efc56880d343024527861751..e88f983ae769ee90a80503485a6d09b5977b0bf3 100644 (file)
@@ -20446,8 +20446,9 @@ void mips_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf,
                 env->CP0_Config2, env->CP0_Config3);
     cpu_fprintf(f, "    Config4 0x%08x Config5 0x%08x\n",
                 env->CP0_Config4, env->CP0_Config5);
-    if (env->hflags & MIPS_HFLAG_FPU)
+    if ((flags & CPU_DUMP_FPU) && (env->hflags & MIPS_HFLAG_FPU)) {
         fpu_dump_state(env, f, cpu_fprintf, flags);
+    }
 }
 
 void mips_tcg_init(void)
This page took 0.044498 seconds and 4 git commands to generate.