qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 8/9] target/arm: Rename FPSR_MASK and FPCR_MASK and define th


From: Richard Henderson
Subject: Re: [PATCH 8/9] target/arm: Rename FPSR_MASK and FPCR_MASK and define them symbolically
Date: Fri, 28 Jun 2024 09:12:34 -0700
User-agent: Mozilla Thunderbird

On 6/28/24 07:23, Peter Maydell wrote:
Now that we store FPSR and FPCR separately, the FPSR_MASK and
FPCR_MASK macros are slightly confusingly named and the comment
describing them is out of date.  Rename them to FPSCR_FPSR_MASK and
FPSCR_FPCR_MASK, document that they are the mask of which FPSCR bits
are architecturally mapped to which AArch64 register, and define them
symbolically rather than as hex values.  (This latter requires
defining some extra macros for bits which we haven't previously
defined.)

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/cpu.h        | 41 ++++++++++++++++++++++++++++++++++-------
  target/arm/machine.c    |  3 ++-
  target/arm/vfp_helper.c |  7 ++++---
  3 files changed, 40 insertions(+), 11 deletions(-)

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

r~



reply via email to

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