For some tests it results in smaller code and faster execution than either 32b or 64b. I note that a new hybrid x32 ABI (Application Binary Interface) is being developed that is 64b but uses 32b pointers. It makes linked lists/trees of 16 byte (32b version) or 32 byte (64b version) objects and does a lot of printing to stderr - not a really useful program, and not something typical, but it is my first. I have just written my first 32/64 bit program. So, what are the real benefits of 64 bit?Īnd as a supplementary question, would 128 bit be even better? I have also heard that 32 bit mode on the x86 has to flush its cache when context switching due to possible overlapping 4G address spaces. And the desire to allocate memory on word boundaries for efficiency would mean more white-space between allocations. Logically, I can see that constants and pointers, in some cases, will be larger so programs are likely to be larger. I suppose I am focussing on x86, but I am generally interested in the move from 32 to 64 bit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |