5 ms·
you have to include the branch instruction too in any comparison
by Taniwha 5y ago
you have to include the branch instruction too in any comparison
- kccqzy 5y agoIn x86 it is still one instruction: jc or jo after an addition.
- brucehoult 5y agoAnd in RISC-V it's a "BLT sum,summand" after an unsigned addition, and a single branch instruction after a signed addition if you know the sign of one of them e.g. adding or subtracting a constant.