Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
Taniwha
4y ago
0 comments
Share
you have to include the branch instruction too in any comparison
0 comments
default
newest
oldest
kccqzy
4y ago
In x86 it is still one instruction: jc or jo after an addition.
brucehoult
4y ago
And 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.
j
/
k
navigate · click thread line to collapse