Skip to content

Fix RVV encoding corner cases

Max Chou qemu-devel qemu-riscv 2 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 1 replyApplied
  2. v212 patches 15 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/10target/riscv: rvv: Source vector registers cannot overlap mask registertarget/riscv/insn_trans/trans_rvv.c.inc+26 -30 replies
2/10target/riscv: rvv: Add CHECK arg to GEN_OPFVF_WIDEN_TRANStarget/riscv/insn_trans/trans_rvv.c.inc+9 -90 replies
3/10target/riscv: rvv: Apply vext_check_input_eew to vrgather instructions to check mismatched input EEWs encoding constrainttarget/riscv/insn_trans/trans_rvv.c.inc+32 -00 replies
4/10target/riscv: rvv: Apply vext_check_input_eew to OPIVI/OPIVX/OPFVF(vext_check_ss) instructionstarget/riscv/insn_trans/trans_rvv.c.inc+2 -10 replies
5/10target/riscv: rvv: Apply vext_check_input_eew to OPIVV/OPFVV(vext_check_sss) instructionstarget/riscv/insn_trans/trans_rvv.c.inc+1 -00 replies
6/10target/riscv: rvv: Apply vext_check_input_eew to vector slide instructions(OPIVI/OPIVX)target/riscv/insn_trans/trans_rvv.c.inc+3 -10 replies
7/10target/riscv: rvv: Apply vext_check_input_eew to vector integer extension instructions(OPMVV)target/riscv/insn_trans/trans_rvv.c.inc+3 -10 replies
8/10target/riscv: rvv: Apply vext_check_input_eew to vector narrow/widen instructionstarget/riscv/insn_trans/trans_rvbf16.c.inc target/riscv/insn_trans/trans_rvv.c.inc+68 -180 replies
9/10target/riscv: rvv: Apply vext_check_input_eew to vector indexed load/store instructionstarget/riscv/insn_trans/trans_rvv.c.inc+4 -20 replies
10/10target/riscv: Fix the rvv reserved encoding of unmasked instructionstarget/riscv/insn32.decode+9 -90 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchDaniel Henrique BarbozaMax ChouAnton Blanchard
1/10R-b R-b
2/10R-b R-b
3/10R-b Co-authored-by
4/10R-b Co-authored-by
5/10R-b Co-authored-by
6/10R-b Co-authored-by
7/10R-b Co-authored-by
8/10R-b Co-authored-by
9/10R-b Co-authored-by
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/10] Fix RVV encoding corner cases

This patch series fixes several corner cases of RISC-V vector instruction's encoding constraints.

This v3 series addresses:
- Merge v2 patches (3 & 4, 9 & 10)
- Remove extra blank line in v2 patch 5
- Remove redundant co-authored-by tags

Thank for Daniel Henrique Barboza's suggestions and review.

Anton Blanchard (2):
target/riscv: rvv: Source vector registers cannot overlap mask
register
target/riscv: rvv: Add CHECK arg to GEN_OPFVF_WIDEN_TRANS

Max Chou (8):
target/riscv: rvv: Apply vext_check_input_eew to vrgather instructions
to check mismatched input EEWs encoding constraint
target/riscv: rvv: Apply vext_check_input_eew to
OPIVI/OPIVX/OPFVF(vext_check_ss) instructions
target/riscv: rvv: Apply vext_check_input_eew to
OPIVV/OPFVV(vext_check_sss) instructions
target/riscv: rvv: Apply vext_check_input_eew to vector slide
instructions(OPIVI/OPIVX)
target/riscv: rvv: Apply vext_check_input_eew to vector integer
extension instructions(OPMVV)
target/riscv: rvv: Apply vext_check_input_eew to vector narrow/widen
instructions
target/riscv: rvv: Apply vext_check_input_eew to vector indexed
load/store instructions
target/riscv: Fix the rvv reserved encoding of unmasked instructions

 target/riscv/insn32.decode                 |  18 +--
 target/riscv/insn_trans/trans_rvbf16.c.inc |   9 +-
 target/riscv/insn_trans/trans_rvv.c.inc    | 166 +++++++++++++++++----
 3 files changed, 153 insertions(+), 40 deletions(-)
Signature · 1 line
2.43.0