Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gsg
· 6y ago · 0 comments
That still exists though? add rax, rbx/jo overflow_error is how you do overflow checking on x86-64.
Comments
[–]
chrisseaton
6y ago
That doesn’t work with a lot of arithmetic, so you have to use slower arithmetic in order to use it.
[–]
gsg
OP
6y ago
Sure, but that didn't change much between x86 and x86-64. Perhaps it got a little worse because the SIMD instructions aren't overflow check friendly.