aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfmacc_vf.h
blob: fca41840bf3262b2b999a607103b575d89e67b8d (plain)
1
2
3
4
5
6
7
8
// vfmacc.vf vd, rs1, vs2, vm    # vd[i] = +(vs2[i] * x[rs1]) + vd[i]
VI_VFP_VF_LOOP
({
  vd = f32_mulAdd(rs1, vs2, vd);
},
{
  vd = f64_mulAdd(rs1, vs2, vd);
})