aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vdivu_vv.h
blob: ef6e777d6b318c3e9ce63f1d60954d2610e6b28a (plain)
1
2
3
4
5
6
7
8
// vdivu.vv vd, vs2, vs1
VI_VV_ULOOP
({
  if(vs1 == 0)
    vd = -1;
  else
    vd = vs2 / vs1;
})