aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vmsbc_vxm.h
blob: 8cc46bad312be343c0d5eb34d0f932afb0be6d3f (plain)
1
2
3
4
5
// vmsbc.vxm vd, vs2, rs1, v0
VI_XI_LOOP_CARRY
({
  res = (((op_mask & vs2) - (op_mask & rs1) - carry) >> sew) & 0x1u;
})