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