qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] target/riscv: Fix the element agnostic function problem
@ 2024-03-06  9:20 Huang Tao
  2024-03-06  9:20 ` [PATCH 1/4] target/riscv: Rename vext_set_elems_1s function Huang Tao
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Huang Tao @ 2024-03-06  9:20 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, zhiwei_liu, dbarboza, liwei1518, bin.meng,
	alistair.francis, palmer, Huang Tao

In RVV and vcrypto instructions, the element agnostic function vext_set_elems_1s
can't deal with the big endian host environment.
This patchset fixes the problem by implementing the right function to set agnostic
elements.

Huang Tao (4):
  target/riscv: Rename vext_set_elems_1s function
  target/riscv: Add right functions to set agnostic elements
  target/riscv: Replace element agnostic for vector instructions
  target/riscv: Delete the former element agnostic function

 target/riscv/vcrypto_helper.c   | 32 ++++++------
 target/riscv/vector_helper.c    | 92 ++++++++++++++++-----------------
 target/riscv/vector_internals.c | 58 +++++++++++++++++----
 target/riscv/vector_internals.h |  8 +--
 4 files changed, 115 insertions(+), 75 deletions(-)

-- 
2.41.0



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

end of thread, other threads:[~2024-03-20  2:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06  9:20 [PATCH 0/4] target/riscv: Fix the element agnostic function problem Huang Tao
2024-03-06  9:20 ` [PATCH 1/4] target/riscv: Rename vext_set_elems_1s function Huang Tao
2024-03-19 21:37   ` Daniel Henrique Barboza
2024-03-06  9:20 ` [PATCH 2/4] target/riscv: Add right functions to set agnostic elements Huang Tao
2024-03-19 21:57   ` Daniel Henrique Barboza
2024-03-19 23:32     ` Richard Henderson
2024-03-20  2:41       ` Huang Tao
2024-03-06  9:20 ` [PATCH 3/4] target/riscv: Replace element agnostic for vector instructions Huang Tao
2024-03-06  9:20 ` [PATCH 4/4] target/riscv: Delete the former element agnostic function Huang Tao

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).