[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] target/riscv: Fix the element agnostic function problem
From: |
Huang Tao |
Subject: |
[PATCH 0/4] target/riscv: Fix the element agnostic function problem |
Date: |
Wed, 6 Mar 2024 17:20:08 +0800 |
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