Message ID | 20180511035240.4016-10-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | Honor CPU_DUMP_FPU | expand |
On Thu, May 10, 2018 at 8:52 PM, Richard Henderson <richard.henderson@linaro.org> wrote: > Cc: Max Filippov <jcmvbkbc@gmail.com> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > target/xtensa/translate.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Max Filippov <jcmvbkbc@gmail.com> -- Thanks. -- Max
On 05/11/2018 12:52 AM, Richard Henderson wrote: > Cc: Max Filippov <jcmvbkbc@gmail.com> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > target/xtensa/translate.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c > index 4f6d03059f..2afe395ecf 100644 > --- a/target/xtensa/translate.c > +++ b/target/xtensa/translate.c > @@ -1244,7 +1244,8 @@ void xtensa_cpu_dump_state(CPUState *cs, FILE *f, > } > } > > - if (xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { > + if ((flags & CPU_DUMP_FPU) && > + xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { > cpu_fprintf(f, "\n"); > > for (i = 0; i < 16; ++i) { >
diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c index 4f6d03059f..2afe395ecf 100644 --- a/target/xtensa/translate.c +++ b/target/xtensa/translate.c @@ -1244,7 +1244,8 @@ void xtensa_cpu_dump_state(CPUState *cs, FILE *f, } } - if (xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { + if ((flags & CPU_DUMP_FPU) && + xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { cpu_fprintf(f, "\n"); for (i = 0; i < 16; ++i) {
Cc: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/xtensa/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.0