aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfredosum_vs.h
blob: 7de6dbb44ec651229641347de3b3f3e0ea3b7907 (plain)
1
2
3
4
5
6
7
8
// vfredosum: vd[0] =  sum( vs2[*] , vs1[0] )
VI_VFP_VV_LOOP_REDUCTION
({
  vd_0 = f32_add(vd_0, vs2);
},
{
  vd_0 = f64_add(vd_0, vs2);
})