mbox series

[0/4] target/riscv: Fix the element agnostic function problem

Message ID 20240306092013.21231-1-eric.huang@linux.alibaba.com (mailing list archive)
Headers show
Series target/riscv: Fix the element agnostic function problem | expand

Message

Huang Tao March 6, 2024, 9:20 a.m. UTC
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(-)