aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfncvt_f_f_w.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vfncvt_f_f_w.h')
-rw-r--r--riscv/insns/vfncvt_f_f_w.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/vfncvt_f_f_w.h b/riscv/insns/vfncvt_f_f_w.h
index d5d5de6..5ccdcc3 100644
--- a/riscv/insns/vfncvt_f_f_w.h
+++ b/riscv/insns/vfncvt_f_f_w.h
@@ -1,6 +1,9 @@
// vfncvt.f.f.v vd, vs2, vm
VI_VFP_CVT_SCALE
({
+ require(0);
+},
+{
auto vs2 = P.VU.elt<float32_t>(rs2_num, i);
P.VU.elt<float16_t>(rd_num, i, true) = f32_to_f16(vs2);
},