3 ms·
It's probably not a good idea to rely on this. Though x86-64 is (currently?) limited to a 48-bit virtual address space, it's designed so that the upper 17 bits
by nitrogen 15y ago
It's probably not a good idea to rely on this. Though x86-64 is (currently?) limited to a 48-bit virtual address space, it's designed so that the upper 17 bits must be all 0 or all 1, and those bits may be used in the future.
https://secure.wikimedia.org/wikipedia/en/wiki/X86-64#Virtual_address_space_details https://secure.wikimedia.org/wikipedia/en/wiki/X86-64#Virtua...
- rvkennedy 15y agoA good idea? I think it's nuts! I strongly recommend that nobody ever do this.
- vidarh 15y agoIt'd be ok to do for a JIT, assuming the JIT knows the systems it targets can deal with it and/or has a fallback strategy for systems that don't. But yes, not for ahead of time compiled code...