Fwiw here's the Rust side of things (also with reference to `lea`):
https://huonw.github.io/blog/2016/04/myths-and-legends-about...
tl;dr:debug mode checks for overflow and panics when it happens; release mode is defined to wrap as two's complement
https://huonw.github.io/blog/2016/04/myths-and-legends-about...
tl;dr:debug mode checks for overflow and panics when it happens; release mode is defined to wrap as two's complement
No comments yet.