diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2019-11-28 19:55:33 -0800 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-01-09 01:42:31 -0800 |
commit | a9dce622c3d6fb2b72a4ca6daebdacebfd55b274 (patch) | |
tree | a1eb346bd385f13fb885add9eb20becdc6912664 /riscv/insns/vfcvt_f_x_v.h | |
parent | 071d49ac7714a26ef92886e9504c35d0edfa15d4 (diff) | |
download | spike-a9dce622c3d6fb2b72a4ca6daebdacebfd55b274.zip spike-a9dce622c3d6fb2b72a4ca6daebdacebfd55b274.tar.gz spike-a9dce622c3d6fb2b72a4ca6daebdacebfd55b274.tar.bz2 |
rvv: add vfxxx.vf float64 support
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/insns/vfcvt_f_x_v.h')
-rw-r--r-- | riscv/insns/vfcvt_f_x_v.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/insns/vfcvt_f_x_v.h b/riscv/insns/vfcvt_f_x_v.h index f6604fb..fdaa697 100644 --- a/riscv/insns/vfcvt_f_x_v.h +++ b/riscv/insns/vfcvt_f_x_v.h @@ -3,4 +3,8 @@ VI_VFP_VF_LOOP ({ auto vs2_i = P.VU.elt<int32_t>(rs2_num, i); vd = i32_to_f32(vs2_i); +}, +{ + auto vs2_i = P.VU.elt<int64_t>(rs2_num, i); + vd = i64_to_f64(vs2_i); }) |