All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Enhanced VSTART and VL Checks for Vector Instructions
@ 2024-12-18  7:15 Chao Liu
  2024-12-18  7:15 ` [PATCH v2 1/2] target/riscv: refactor VSTART_CHECK_EARLY_EXIT() to accept vl as a parameter Chao Liu
  2024-12-18  7:15 ` [PATCH v2 2/2] target/riscv: fix handling of nop for vstart >= vl in some vector instruction Chao Liu
  0 siblings, 2 replies; 5+ messages in thread
From: Chao Liu @ 2024-12-18  7:15 UTC (permalink / raw)
  To: bmeng.cn, liwei1518, palmer, alistair.francis, dbarboza,
	zhiwei_liu, max.chou, alistair23
  Cc: qemu-riscv, qemu-devel, zqz00548, Chao Liu

Hi, all:

In the second version of this patch, I addressed the issue that other vector
instructions didn't check for vstart >= vl correctly.

I refactored the VSTART_CHECK_EARLY_EXIT() macro. This change is intended to:
Vector instructions with special vl values can also be checked with this macro,
such as vlm.v instruction (real vl = ceil(vl / 8)).

PATCH v1:
https://lore.kernel.org/qemu-riscv/cover.1734423785.git.lc00631@tecorigin.com/

Chao Liu (2):
  target/riscv: refactor VSTART_CHECK_EARLY_EXIT() to accept vl as a
    parameter
  target/riscv: fix handling of nop for vstart >= vl in some vector
    instruction

 target/riscv/vcrypto_helper.c   | 32 ++++++-------
 target/riscv/vector_helper.c    | 83 ++++++++++++++++++---------------
 target/riscv/vector_internals.c |  4 +-
 target/riscv/vector_internals.h | 12 ++---
 4 files changed, 69 insertions(+), 62 deletions(-)

-- 
2.47.1



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

end of thread, other threads:[~2024-12-26 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18  7:15 [PATCH v2 0/2] Enhanced VSTART and VL Checks for Vector Instructions Chao Liu
2024-12-18  7:15 ` [PATCH v2 1/2] target/riscv: refactor VSTART_CHECK_EARLY_EXIT() to accept vl as a parameter Chao Liu
2024-12-26 13:16   ` Daniel Henrique Barboza
2024-12-18  7:15 ` [PATCH v2 2/2] target/riscv: fix handling of nop for vstart >= vl in some vector instruction Chao Liu
2024-12-26 13:48   ` Daniel Henrique Barboza

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.