aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vmadc_vvm.h
blob: 96a7f2cb03427ee879ec6a21cc718e670d0ec0e5 (plain)
1
2
3
4
5
// vmadc.vvm vd, vs2, rs1, v0
VI_VV_LOOP_CARRY
({
  res = (((op_mask & vs1) + (op_mask & vs2) + carry) >> sew) & 0x1u;
})