4 ms·
I wonder how the x32 ABI performs. The x32 is a Linux ABI were amd64 is used, but pointers are 32 bit. I'm still wondering if some company is using it. Now tha
by hawski 9y ago
I wonder how the x32 ABI performs. The x32 is a Linux ABI were amd64 is used, but pointers are 32 bit. I'm still wondering if some company is using it.
Now that we are at it, I'm wondering if there is something like x32, but for Aarch64? AFAIR Aarch64 is nothing like amd64 is for x86, but it could still be just 32 bit pointers, but all the registers.
https://en.m.wikipedia.org/wiki/X32_ABI https://en.m.wikipedia.org/wiki/X32_ABI
- monocasa 9y agoAArch64 was def designed for this too. You can use the w registers (the lower 32 bit halves of the GPRs) as load/store arguments, which pretty much only makes sense in an x32 like ABI.
- AbacusAvenger 9y agoI used the x32 ABI at a previous job, for an ARM-on-x86 emulation project. The x32 ABI outperformed both x86 and x86_64 for that purpose. It wasn't a huge margin, but it was enough to make us want to use it over x86_64. I wish I still had the performance data for that, so this would be more than an anecdotal comment.