summaryrefslogtreecommitdiffstats
path: root/target/riscv/helper.h
diff options
context:
space:
mode:
authorFrank Chang2021-12-10 08:56:08 +0100
committerAlistair Francis2021-12-20 05:51:36 +0100
commit83fcd573b121939e850d9a9836e24298d189aa79 (patch)
tree3e0f634a51664022d2e95a25797710895016822d /target/riscv/helper.h
parenttarget/riscv: rvv-1.0: index load and store instructions (diff)
downloadqemu-83fcd573b121939e850d9a9836e24298d189aa79.tar.gz
qemu-83fcd573b121939e850d9a9836e24298d189aa79.tar.xz
qemu-83fcd573b121939e850d9a9836e24298d189aa79.zip
target/riscv: rvv-1.0: fix address index overflow bug of indexed load/store insns
Replace ETYPE from signed int to unsigned int to prevent index overflow issue, which would lead to wrong index address. Signed-off-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20211210075704.23951-23-frank.chang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/helper.h')
0 files changed, 0 insertions, 0 deletions