[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/4] target/arm: Fix sve pred_desc decoding
From: |
Richard Henderson |
Subject: |
[PATCH v2 0/4] target/arm: Fix sve pred_desc decoding |
Date: |
Tue, 12 Jan 2021 20:26:46 -1000 |
There was an inconsistency between encoding, which uses
SIMD_DATA_SHIFT, and decoding which used SIMD_OPRSZ_BITS.
This happened to be ok, until e2e7168a214, which reduced
the size of SIMD_OPRSZ_BITS, which lead to truncating all
predicate vector lengths.
Changes in v2:
* Introduce and use PREDDESC field definitions, rather
than abusing a different SIMD_* macro.
r~
Richard Henderson (4):
target/arm: Introduce PREDDESC field definitions
target/arm: Update PFIRST, PNEXT for pred_desc
target/arm: Update ZIP, UZP, TRN for pred_desc
target/arm: Update REV, PUNPK for pred_desc
target/arm/internals.h | 9 +++++++++
target/arm/sve_helper.c | 33 +++++++++++++++++----------------
target/arm/translate-sve.c | 31 +++++++++++--------------------
3 files changed, 37 insertions(+), 36 deletions(-)
--
2.25.1
- [PATCH v2 0/4] target/arm: Fix sve pred_desc decoding,
Richard Henderson <=
- [PATCH v2 1/4] target/arm: Introduce PREDDESC field definitions, Richard Henderson, 2021/01/13
- [PATCH v2 2/4] target/arm: Update PFIRST, PNEXT for pred_desc, Richard Henderson, 2021/01/13
- [PATCH v2 3/4] target/arm: Update ZIP, UZP, TRN for pred_desc, Richard Henderson, 2021/01/13
- [PATCH v2 4/4] target/arm: Update REV, PUNPK for pred_desc, Richard Henderson, 2021/01/13
- Re: [PATCH v2 0/4] target/arm: Fix sve pred_desc decoding, Peter Maydell, 2021/01/19