qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 69/76] target/arm: Plumb FEAT_RPRES frecpe and frsqrte throug


From: Richard Henderson
Subject: Re: [PATCH 69/76] target/arm: Plumb FEAT_RPRES frecpe and frsqrte through to new helper
Date: Sun, 26 Jan 2025 05:23:11 -0800
User-agent: Mozilla Thunderbird

On 1/24/25 08:28, Peter Maydell wrote:
FEAT_RPRES implements an "increased precision" variant of the single
precision FRECPE and FRSQRTE instructions from an 8 bit to a 12
bit mantissa. This applies only when FPCR.AH == 1. Note that the
halfprec and double versions of these insns retain the 8 bit
precision regardless.

In this commit we add all the plumbing to make these instructions
call a new helper function when the increased-precision is in
effect. In the following commit we will provide the actual change
in behaviour in the helpers.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/cpu-features.h      |  5 +++++
  target/arm/helper.h            |  4 ++++
  target/arm/tcg/translate-a64.c | 34 ++++++++++++++++++++++++++++++----
  target/arm/tcg/translate-sve.c | 16 ++++++++++++++--
  target/arm/tcg/vec_helper.c    |  2 ++
  target/arm/vfp_helper.c        | 32 ++++++++++++++++++++++++++++++--
  6 files changed, 85 insertions(+), 8 deletions(-)

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

r~



reply via email to

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