mbox series

[0/4] target/arm: Various minor SME bugfixes

Message ID 20240722172957.1041231-1-peter.maydell@linaro.org
Headers show
Series target/arm: Various minor SME bugfixes | expand

Message

Peter Maydell July 22, 2024, 5:29 p.m. UTC
This patchset fixes a handful of minor bugs in our SME implementation:
one spotted by Coverity, one raised as a Gitlab issue, and a couple
that I just noticed in passing while I was working with the code.

thanks
-- PMM

Peter Maydell (4):
  target/arm: Don't assert for 128-bit tile accesses when SVL is 128
  target/arm: Fix UMOPA/UMOPS of 16-bit values
  target/arm: Avoid shifts by -1 in tszimm_shr() and tszimm_shl()
  target/arm: Ignore SMCR_EL2.LEN and SVCR_EL2.LEN if EL2 is not enabled

 target/arm/helper.c            |  2 +-
 target/arm/tcg/sme_helper.c    |  8 ++++----
 target/arm/tcg/translate-sme.c | 10 +++++++++-
 target/arm/tcg/translate-sve.c | 18 ++++++++++++++++--
 4 files changed, 30 insertions(+), 8 deletions(-)

Comments

Richard Henderson July 22, 2024, 10:14 p.m. UTC | #1
On 7/23/24 03:29, Peter Maydell wrote:
> 
> Peter Maydell (4):
>    target/arm: Don't assert for 128-bit tile accesses when SVL is 128
>    target/arm: Fix UMOPA/UMOPS of 16-bit values
>    target/arm: Avoid shifts by -1 in tszimm_shr() and tszimm_shl()
>    target/arm: Ignore SMCR_EL2.LEN and SVCR_EL2.LEN if EL2 is not enabled

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


r~