diff options
author | Richard Henderson | 2018-05-11 05:44:33 +0200 |
---|---|---|
committer | Richard Henderson | 2018-05-18 23:52:38 +0200 |
commit | a651e033c6cae17d0d05902158d35ca6bf25eb5d (patch) | |
tree | 2aa25f85efe85ba0d7d3c4f63b4cc8b3167f856b /target/unicore32/translate.c | |
parent | target/sparc: Honor CPU_DUMP_FPU (diff) | |
download | qemu-a651e033c6cae17d0d05902158d35ca6bf25eb5d.tar.gz qemu-a651e033c6cae17d0d05902158d35ca6bf25eb5d.tar.xz qemu-a651e033c6cae17d0d05902158d35ca6bf25eb5d.zip |
target/unicore32: Honor CPU_DUMP_FPU
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/unicore32/translate.c')
-rw-r--r-- | target/unicore32/translate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/unicore32/translate.c b/target/unicore32/translate.c index abe2ea8592..3cae111955 100644 --- a/target/unicore32/translate.c +++ b/target/unicore32/translate.c @@ -2101,7 +2101,9 @@ void uc32_cpu_dump_state(CPUState *cs, FILE *f, psr & (1 << 28) ? 'V' : '-', cpu_mode_names[psr & 0xf]); - cpu_dump_state_ucf64(env, f, cpu_fprintf, flags); + if (flags & CPU_DUMP_FPU) { + cpu_dump_state_ucf64(env, f, cpu_fprintf, flags); + } } void restore_state_to_opc(CPUUniCore32State *env, TranslationBlock *tb, |