Re:A Crash Course in X86 Assembly for Reverse Engineers (201...
by tomcam on Saturday December 03, 2016 @02:21PM
(#13097061)
Like GP, I thought I had cleverly thought of this idea up myself. So glad that smarter people than I have did this up right!
* As far as the processor itself is concerned, the code runs in 64-bit mode, so you get the extra (and wider) registers from that.
* But pointers are still 32 bits, so you get the memory savings of 32-bit mode.
In principle, as long as you're using <4GiB of memory, it should be at least as fast as the best of 32-bit or 64-bit mode for any particular program. But I haven't heard of it being used much.
https://en.wikipedia.org/wiki/X32_ABI