[PATCH v12 0/7] riscv: set vstart_eq_zero on vector insns

Daniel Henrique Barboza posted 7 patches 8 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240311180821.250469-1-dbarboza@ventanamicro.com
Maintainers: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>
There is a newer version of this series
target/riscv/insn_trans/trans_rvbf16.c.inc |  18 +-
target/riscv/insn_trans/trans_rvv.c.inc    | 198 +++++----------------
target/riscv/insn_trans/trans_rvvk.c.inc   |  30 +---
target/riscv/translate.c                   |   6 +
target/riscv/vcrypto_helper.c              |  32 ++++
target/riscv/vector_helper.c               |  97 +++++++++-
target/riscv/vector_internals.c            |   4 +
target/riscv/vector_internals.h            |   9 +
8 files changed, 202 insertions(+), 192 deletions(-)
[PATCH v12 0/7] riscv: set vstart_eq_zero on vector insns
Posted by Daniel Henrique Barboza 8 months, 2 weeks ago
Hi,

In this new version we reworked the commit message of patch 4, as
suggested by Richard, since the solution we went for in patch 3
trivialized the removal of 'brcond' since we're doing an early exit if
vstart >= vl.

No other changes made. Patches based on master.

All patches acked.

Changes from v11:
- patch 4:
  - commit msg rewritten taking VSTART_CHECK_EARLY_EXIT() into
    consideration
- v11 link: https://lore.kernel.org/qemu-riscv/20240311135855.225578-1-dbarboza@ventanamicro.com/


Daniel Henrique Barboza (6):
  target/riscv/vector_helper.c: set vstart = 0 in GEN_VEXT_VSLIDEUP_VX()
  trans_rvv.c.inc: set vstart = 0 in int scalar move insns
  target/riscv/vector_helpers: do early exit when vstart >= vl
  target/riscv: remove 'over' brconds from vector trans
  trans_rvv.c.inc: remove redundant mark_vs_dirty() calls
  target/riscv/vector_helper.c: optimize loops in ldst helpers

Ivan Klokov (1):
  target/riscv: enable 'vstart_eq_zero' in the end of insns

 target/riscv/insn_trans/trans_rvbf16.c.inc |  18 +-
 target/riscv/insn_trans/trans_rvv.c.inc    | 198 +++++----------------
 target/riscv/insn_trans/trans_rvvk.c.inc   |  30 +---
 target/riscv/translate.c                   |   6 +
 target/riscv/vcrypto_helper.c              |  32 ++++
 target/riscv/vector_helper.c               |  97 +++++++++-
 target/riscv/vector_internals.c            |   4 +
 target/riscv/vector_internals.h            |   9 +
 8 files changed, 202 insertions(+), 192 deletions(-)

-- 
2.43.2