diff options
author | liweiwei <liweiwei@iscas.ac.cn> | 2021-10-14 09:49:10 +0800 |
---|---|---|
committer | Weiwei Li <liweiwei@iscas.ac.cn> | 2022-08-04 10:11:26 +0800 |
commit | 5de0c89c034cf64fdab8e36d2dc7488aa035d823 (patch) | |
tree | b5ed8f034d95a2fb22e7ec64d13c73484c2c059b /riscv/insns/fcvt_lu_s.h | |
parent | 7812b01154c6a2f19e0d4bc9f00e5d5fcb9aec22 (diff) | |
download | spike-5de0c89c034cf64fdab8e36d2dc7488aa035d823.zip spike-5de0c89c034cf64fdab8e36d2dc7488aa035d823.tar.gz spike-5de0c89c034cf64fdab8e36d2dc7488aa035d823.tar.bz2 |
Modify F/D/Zfh instructions to add support for Zfinx/Zdinx/Zhinx{min} instructions
change the extention check for F/D/Zfh instructions
modify the F/D/Zfh instructions to read X regs when enable Zfinx
Co-authored-by: wangmeng <shusheng8495@hotmail.com>
Diffstat (limited to 'riscv/insns/fcvt_lu_s.h')
-rw-r--r-- | riscv/insns/fcvt_lu_s.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscv/insns/fcvt_lu_s.h b/riscv/insns/fcvt_lu_s.h index 94115a3..69c95ef 100644 --- a/riscv/insns/fcvt_lu_s.h +++ b/riscv/insns/fcvt_lu_s.h @@ -1,6 +1,6 @@ -require_extension('F'); +require_either_extension('F', EXT_ZFINX); require_rv64; require_fp; softfloat_roundingMode = RM; -WRITE_RD(f32_to_ui64(f32(FRS1), RM, true)); +WRITE_RD(f32_to_ui64(FRS1_F, RM, true)); set_fp_exceptions; |