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