diff options
Diffstat (limited to 'riscv/insns/vfncvt_f_f_w.h')
-rw-r--r-- | riscv/insns/vfncvt_f_f_w.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/riscv/insns/vfncvt_f_f_w.h b/riscv/insns/vfncvt_f_f_w.h index 65af339..e9f3b25 100644 --- a/riscv/insns/vfncvt_f_f_w.h +++ b/riscv/insns/vfncvt_f_f_w.h @@ -10,4 +10,14 @@ VI_VFP_CVT_SCALE { auto vs2 = P.VU.elt<float64_t>(rs2_num, i); P.VU.elt<float32_t>(rd_num, i, true) = f64_to_f32(vs2); -}, false, (P.VU.vsew >= 16)) +}, +{ + ; +}, +{ + require(p->supports_extension(EXT_ZFH)); +}, +{ + require(p->supports_extension('D')); +}, +false, (P.VU.vsew >= 16)) |