diff options
Diffstat (limited to 'riscv/insns/vfwcvt_x_f_v.h')
-rw-r--r-- | riscv/insns/vfwcvt_x_f_v.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/riscv/insns/vfwcvt_x_f_v.h b/riscv/insns/vfwcvt_x_f_v.h index 6b266b2..ebd99c0 100644 --- a/riscv/insns/vfwcvt_x_f_v.h +++ b/riscv/insns/vfwcvt_x_f_v.h @@ -10,4 +10,14 @@ VI_VFP_CVT_SCALE { auto vs2 = P.VU.elt<float32_t>(rs2_num, i); P.VU.elt<int64_t>(rd_num, i, true) = f32_to_i64(vs2, STATE.frm, true); -}, true, (P.VU.vsew >= 16)) +}, +{ + ; +}, +{ + require(p->supports_extension(EXT_ZFH)); +}, +{ + require(p->supports_extension('F')); +}, +true, (P.VU.vsew >= 16)) |