Skip to content

target/riscv: RVV 1-fill tail element changes

Daniel Henrique Barboza qemu-devel qemu-riscv 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2target/riscv/vector_helper.c: skip set tail when vta is zerotarget/riscv/vector_helper.c+8 -33 replies
2/2target/riscv/vector_helper.c: make vext_set_tail_elems_1s() debug onlytarget/riscv/vector_helper.c+1 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPalmer DabbeltWeiwei LiAlistair Francis
SeriesR-b
1/2R-b A-b
2/2

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 v1 thread

Cover letter [PATCH 0/2] target/riscv: RVV 1-fill tail element changes

Hi,

This series makes changes in vext_set_tail_elements_1s() to be a little nicer to the emulation.

First patch makes the function a no-op when vta == 0. Aside from the logic simplification we also have a little performance boost.

Second patch makes the function debug only. The logic is explained in the commit message, but long story short: we don't have to implement any tail-agnostic policy at all to be spec compliant, but this function has its uses for debug purposes, so keeping it as a debug option allow users to disable it on demand.

Patches are based on top of Alistair's riscv-to-apply.next.

Daniel Henrique Barboza (2):
target/riscv/vector_helper.c: skip set tail when vta is zero target/riscv/vector_helper.c: make vext_set_tail_elems_1s() debug only

 target/riscv/vector_helper.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Signature · 1 line
2.40.0