aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vremu_vx.h
blob: a87a8200a82fed1caca1c1f09a0d1a49f3885c58 (plain)
1
2
3
4
5
6
7
8
// vremu.vx vd, vs2, rs1
VI_VX_ULOOP
({
  if (rs1 == 0)
    vd = vs2;
  else
    vd = vs2 % rs1;
})