qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH 01/20] target/ppc: Remove fpscr_* macros from cpu.h


From: Richard Henderson
Subject: Re: [PATCH 01/20] target/ppc: Remove fpscr_* macros from cpu.h
Date: Tue, 26 Apr 2022 14:11:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 4/22/22 11:54, Víctor Colombo wrote:
fpscr_* defined macros are hiding the usage of *env behind them.
Substitute the usage of these macros with `env->fpscr & FP_*` to make
the code cleaner.

Suggested-by: Richard Henderson<richard.henderson@linaro.org>
Signed-off-by: Víctor Colombo<victor.colombo@eldorado.org.br>
---
  target/ppc/cpu.c        |  2 +-
  target/ppc/cpu.h        | 29 -----------------------------
  target/ppc/fpu_helper.c | 28 ++++++++++++++--------------
  3 files changed, 15 insertions(+), 44 deletions(-)

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

r~



reply via email to

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