Re:Apple's M4 Has Reportedly Adopted the ARMv9 Architecture
by dzaima on Friday May 24, 2024 @06:48PM
(#40471167)
You can't do 2048 bits of addition in one SVE instruction; not portably, at least (and definitely not on any existing hardware). SVE requires hardware to have a minimum of 128-bit vectors (maximum allowed being 2048-bit), but the hardware chooses that, not the programmer. For portable SVE, your code needs to work for all of those widths, not just the smallest or largest. (of related note is RISC-V RVV, which allows you to group up to 8 registers together, allowing a minimum portable operation width of 128×8 = 1024 bits in a single instruction (and up to 65536×8 = 64KB for hypothetical crazy hardware with max VLEN), but SVE/SVE2 don't have any equivalent)
[ Parent
| on HN ]
There are no comments on this comment yet.