diff options
Diffstat (limited to 'riscv/insns/vfmsac_vv.h')
-rw-r--r-- | riscv/insns/vfmsac_vv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/riscv/insns/vfmsac_vv.h b/riscv/insns/vfmsac_vv.h new file mode 100644 index 0000000..952c12e --- /dev/null +++ b/riscv/insns/vfmsac_vv.h @@ -0,0 +1,5 @@ +// vfmsac: vd[i] = +(vs1[i] * vs2[i]) - vd[i] +VI_VFP_VV_LOOP +({ + vd = f32_mulAdd(vs1, vs2, f32(vd.v ^ F32_SIGN)); +}) |