qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 09/55] target/arm: Implement MVE LETP insn


From: Richard Henderson
Subject: Re: [PATCH 09/55] target/arm: Implement MVE LETP insn
Date: Mon, 7 Jun 2021 20:40:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 6/7/21 9:57 AM, Peter Maydell wrote:
Implement the MVE LETP insn.  This is like the existing LE loop-end
insn, but it must perform an FPU-enabled check, and on loop-exit it
resets LTPSIZE to 4.

To accommodate the requirement to do something on loop-exit, we drop
the use of condlabel and instead manage both the TB exits manually,
in the same way we already do in trans_WLS().

The other MVE-specific change to the LE insn is that we must raise an
INVSTATE UsageFault insn if LTPSIZE is not 4.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
This amounts to a complete rewrite of trans_LE()...
---
  target/arm/t32.decode  |   2 +-
  target/arm/translate.c | 104 +++++++++++++++++++++++++++++++++++++----
  2 files changed, 97 insertions(+), 9 deletions(-)

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

r~



reply via email to

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