2 changed files with 2 additions and 2 deletions
@ -1,6 +1,6 @@ |
|||
reg_t lhs = zext_xprlen(RS1); |
|||
reg_t rhs = zext_xprlen(RS2); |
|||
if(rhs == 0) |
|||
RD = lhs; |
|||
RD = sext_xprlen(RS1); |
|||
else |
|||
RD = sext_xprlen(lhs % rhs); |
|||
|
|||
Loading…
Reference in new issue