Re:Subtraction is not comparison
by userbinator on Friday December 26, 2014 @11:47AM
(#8799260)
The simplest way to implement that would be two SETxx instructions and a subtract on 386+, SLT/SGT on MIPS, two subtracts (or one compare and one subtract) and two predicated moves on ARM. No branching required at all.
[ Parent
| on HN ]
There are no comments on this comment yet.