Other flavours
Other flavours
Posted Dec 12, 2018 20:18 UTC (Wed) by ibukanov (subscriber, #3942)In reply to: Other flavours by plugwash
Parent article: The x32 subarchitecture may be removed
Posted Dec 12, 2018 21:32 UTC (Wed)
by mathstuf (subscriber, #69389)
[Link] (6 responses)
Posted Dec 13, 2018 7:01 UTC (Thu)
by ibukanov (subscriber, #3942)
[Link] (5 responses)
Posted Dec 13, 2018 8:18 UTC (Thu)
by cladisch (✭ supporter ✭, #50193)
[Link] (4 responses)
As far as I can see, this assessment has not changed since then.
Posted Dec 13, 2018 13:31 UTC (Thu)
by plugwash (subscriber, #29694)
[Link] (3 responses)
Other than time and file offsets I can't think of much that has a pressing need to be 64-bit on 32-bit systems.
Posted Dec 13, 2018 19:02 UTC (Thu)
by jccleaver (guest, #127418)
[Link] (2 responses)
This absolutely is key. If this decision were to be rolled back in the interests of a meaningfully usable x32, it would be a great step.
Posted Dec 13, 2018 23:22 UTC (Thu)
by farnz (subscriber, #17727)
[Link] (1 responses)
Why? 64-bit time for 32-bit architectures is worth the effort because there still exist 32-bit only systems being sold today (ARM Cortex-R range, including new designs, for example, not to mention embedded systems using older ARMv7-A cores, plus anything designed around the DM&P Vortex86 SoCs or RDC's Emkore and IAD chips which are x86 CPUs with no 64-bit support). Thus, we need to address this anyway; these chips are going to be around for a while, and saying that brand new hardware designed in 2019 (or probably 2020) is going to be worthless before 2038 isn't exactly nice.
OTOH, x32 is just a potential speedup for users who could use amd64 or i386 ABIs; it doesn't expand the user base by any significant amount, and does involve engineering effort.
Posted Dec 14, 2018 8:30 UTC (Fri)
by joib (subscriber, #8541)
[Link]
Posted Dec 12, 2018 21:37 UTC (Wed)
by ken (subscriber, #625)
[Link] (6 responses)
Posted Dec 13, 2018 8:36 UTC (Thu)
by epa (subscriber, #39769)
[Link] (5 responses)
Posted Dec 13, 2018 11:01 UTC (Thu)
by NAR (subscriber, #1313)
[Link]
Posted Dec 13, 2018 11:47 UTC (Thu)
by excors (subscriber, #95769)
[Link] (2 responses)
ARM NEON does let you split up registers like that - the 32-bit registers S0 and S1 are the two halves of the 64-bit register D0, and D0/D1 are the two halves of 128-bit Q0, and so on up to D30/D31 = Q15. But that makes it much harder for an out-of-order CPU to accurately determine dependencies between instructions and do correct register renaming, so AArch64 got rid of that aliasing - now S0/D0/Q0 share one physical register, S1/D1/Q1 share another, etc. Better to sacrifice some utilisation of register space in exchange for a simpler and more efficient microarchitecture.
Posted Dec 13, 2018 16:38 UTC (Thu)
by epa (subscriber, #39769)
[Link] (1 responses)
I agree, it doesn't really seem worth the effort in general, but perhaps in some tight inner loop that works with 32-bit arithmetic it might make a difference.
Posted Dec 13, 2018 19:36 UTC (Thu)
by excors (subscriber, #95769)
[Link]
If you have a tight inner loop where such tiny differences matter, you should be using SSE/AVX anyway so that you're loading 128/256/512 bits at once and doing all your arithmetic with SIMD instructions.
Posted Dec 13, 2018 12:01 UTC (Thu)
by joib (subscriber, #8541)
[Link]
For x86 with mem-op instructions and register renaming, 16 GPR's is for most purposes enough.
Other flavours
Other flavours
Other flavours
> And I really do think that a new 32-bit ABI is *much* better off trying to be compatible
> with x86-64 (and avoiding things like 2038) than it is trying to be compatible with the
> old-style x86-32 binaries. I realize that it may be *easier* to be compatible with x86-32
> and just add a few new system calls, but I think it's wrong.
>
> 2038 is a long time away for legacy binaries. It's *not* all that long away if you are
> introducing a new 32-bit mode for performance.
Other flavours
Other flavours
Other flavours
Other flavours
Other flavours
Other flavours
Other flavours
Other flavours
Other flavours
Other flavours
Other flavours
