qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 36/76] target/arm: Add FPCR.NEP to TBFLAGS


From: Richard Henderson
Subject: Re: [PATCH 36/76] target/arm: Add FPCR.NEP to TBFLAGS
Date: Sat, 25 Jan 2025 09:45:48 -0800
User-agent: Mozilla Thunderbird

On 1/24/25 08:27, Peter Maydell wrote:
For FEAT_AFP, we want to emit different code when FPCR.NEP is set, so
that instead of zeroing the high elements of a vector register when
we write the output of a scalar operation to it, we instead merge in
those elements from one of the source registers.  Since this affects
the generated code, we need to put FPCR.NEP into the TBFLAGS.

FPCR.NEP is treated as 0 when in streaming SVE mode and FEAT_SME_FA64
is not implemented or not enabled; we can implement this logic in
rebuild_hflags_a64().

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/cpu.h               | 1 +
  target/arm/tcg/translate.h     | 2 ++
  target/arm/tcg/hflags.c        | 9 +++++++++
  target/arm/tcg/translate-a64.c | 1 +
  4 files changed, 13 insertions(+)

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

r~



reply via email to

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