aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/remu.h
blob: c698aca2fefadae41f339b9d947e4e47b5ee5c4c (plain)
1
2
3
4
if(RS2 == 0)
  RD = RS1;
else
  RD = sext_xprlen(zext_xprlen(RS1) % zext_xprlen(RS2));