aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vmsbc_vvm.h
blob: 3225c62d66f2c65cc87835579082112f8c350a5f (plain)
1
2
3
4
5
// vmsbc.vvm vd, vs2, rs1, v0
VI_VV_LOOP_CARRY
({
  res = (((op_mask & vs2) - (op_mask & vs1) - carry) >> sew) & 0x1u;
})