diff options
author | Huang Tao <eric.huang@linux.alibaba.com> | 2024-03-25 10:16:54 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-06-05 13:03:44 +0300 |
commit | af1e2cdc577169f7221b9e1e45da5c379f744c1f (patch) | |
tree | 844cf01ae62580e2e27a23ae1b7109d8ca003ec4 /COPYING | |
parent | 2dcc48b38bf9adf5e320e9725d9a7df84ae5bf4d (diff) | |
download | qemu-af1e2cdc577169f7221b9e1e45da5c379f744c1f.zip qemu-af1e2cdc577169f7221b9e1e45da5c379f744c1f.tar.gz qemu-af1e2cdc577169f7221b9e1e45da5c379f744c1f.tar.bz2 |
target/riscv: Fix the element agnostic function problem
In RVV and vcrypto instructions, the masked and tail elements are set to 1s
using vext_set_elems_1s function if the vma/vta bit is set. It is the element
agnostic policy.
However, this function can't deal the big endian situation. This patch fixes
the problem by adding handling of such case.
Signed-off-by: Huang Tao <eric.huang@linux.alibaba.com>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Cc: qemu-stable <qemu-stable@nongnu.org>
Message-ID: <20240325021654.6594-1-eric.huang@linux.alibaba.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit 75115d880c6d396f8a2d56aab8c12236d85a90e0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions