There are a few corner cases where when we implemented FEAT_AFP we
didn't update the instructions to get the FPCR.AH = 1 handling right:
 * SVE2 FMAXP and FMINP need to do the AH=1 style max/min
 * SVE FCVTLT to halfprec needs to use the F16 FPCR
 * FLOGB needs to report when it consumed a denormal

This patchset implements fixes for these.

thanks
-- PMM

Peter Maydell (3):
  target/arm: SVE2 FMAXP, FMINP must honour AH=1
  target/arm: Use FPST_A64_F16 for SVE FCVTLT_hs
  target/arm: Set correct fp flags for FLOGB when FPCR.AH = 1

 target/arm/tcg/helper-sve-defs.h | 14 ++++++++++++++
 target/arm/tcg/sve_helper.c      | 11 +++++++++++
 target/arm/tcg/translate-sve.c   |  6 +++---
 3 files changed, 28 insertions(+), 3 deletions(-)

-- 
2.43.0


Reply via email to