by esmi · 6y ago · 0 comments
https://www.mikeash.com/pyblog/friday-qa-2012-07-27-lets-bui...
And for ARM.
https://www.mikeash.com/pyblog/friday-qa-2013-09-27-arm64-an...
Except the designers foresaw this and established Canonical Addresses[0] to prevent people from using that "unused" space for tags. The space is explicitly reserved. This is probably why LuaJIT uses NaN tagging of doubles instead of tagged pointers.. even though that causes an issue of it's own[1].
[0]: https://en.wikipedia.org/wiki/X86-64#Virtual_address_space_d...