qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] target/arm: Fix sve pred_desc decoding
@ 2021-01-13  6:26 Richard Henderson
  2021-01-13  6:26 ` [PATCH v2 1/4] target/arm: Introduce PREDDESC field definitions Richard Henderson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Richard Henderson @ 2021-01-13  6:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, qemu-arm

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-19 11:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  6:26 [PATCH v2 0/4] target/arm: Fix sve pred_desc decoding Richard Henderson
2021-01-13  6:26 ` [PATCH v2 1/4] target/arm: Introduce PREDDESC field definitions Richard Henderson
2021-01-13  6:26 ` [PATCH v2 2/4] target/arm: Update PFIRST, PNEXT for pred_desc Richard Henderson
2021-01-13  6:26 ` [PATCH v2 3/4] target/arm: Update ZIP, UZP, TRN " Richard Henderson
2021-01-13  6:26 ` [PATCH v2 4/4] target/arm: Update REV, PUNPK " Richard Henderson
2021-01-19 11:28 ` [PATCH v2 0/4] target/arm: Fix sve pred_desc decoding Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).