qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 07/30] target/mips: Turn printfpr() macro into a proper fu


From: Richard Henderson
Subject: Re: [PATCH v3 07/30] target/mips: Turn printfpr() macro into a proper function
Date: Mon, 19 Apr 2021 12:24:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/19/21 12:18 PM, Philippe Mathieu-Daudé wrote:
+static void fpu_dump_fpr(fpr_t *fpr, FILE *f, bool is_fpu64)

If you're going to use bool here,

  static void fpu_dump_state(CPUMIPSState *env, FILE *f, int flags)
  {
      int i;
      int is_fpu64 = !!(env->hflags & MIPS_HFLAG_F64);

... you should probably use it here too.  Otherwise,

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]