aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfnmsub_vv.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vfnmsub_vv.h')
-rw-r--r--riscv/insns/vfnmsub_vv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/vfnmsub_vv.h b/riscv/insns/vfnmsub_vv.h
index ff4a9b5..2a45c8f 100644
--- a/riscv/insns/vfnmsub_vv.h
+++ b/riscv/insns/vfnmsub_vv.h
@@ -1,6 +1,9 @@
// vfnmsub: vd[i] = -(vd[i] * vs1[i]) + vs2[i]
VI_VFP_VV_LOOP
({
+ vd = f16_mulAdd(f16(vd.v ^ F16_SIGN), vs1, vs2);
+},
+{
vd = f32_mulAdd(f32(vd.v ^ F32_SIGN), vs1, vs2);
},
{