Re:RISC-V formal spec public review
by waterhouse on Friday June 21, 2019 @04:10AM
(#20240788)
Specifically, I think the "sltu" (set if less than, unsigned) instruction is useful for carries. When you add two unsigned integers, the result is smaller than the inputs if and only if an overflow occurred.
(edit: switched a1 and a0 for consistency)
[ Parent
| on HN ]
There are no comments on this comment yet.