target/riscv: Fix vslide1up.vf and vslide1down.vf
authorLIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Mon, 13 Feb 2023 09:45:50 +0000 (17:45 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 23 Feb 2023 22:21:34 +0000 (14:21 -0800)
commit8c89d50c10afdd98da82642ca5e9d7af4f1c18bd
treed6e60c77cfb61d090d3a4a72d1b0cf816651fb7b
parent718942aed69d42f0d982824b2469331ff77edcb2
target/riscv: Fix vslide1up.vf and vslide1down.vf

vslide1up_##BITWIDTH is used by the vslide1up.vx and vslide1up.vf. So its
scalar input should be uint64_t to hold the 64 bits float register.And the
same for vslide1down_##BITWIDTH.

This bug is caught when run these instructions on qemu-riscv32.

Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-ID: <20230213094550.29621-1-zhiwei_liu@linux.alibaba.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
target/riscv/vector_helper.c