4 ms·
I agree that this would occasionally be a very useful feature. Any idea if this would be architecturally feasible? Might it be similar to modern a GPU's "regi
by nkurz 12y ago
I agree that this would occasionally be a very useful feature. Any idea if this would be architecturally feasible? Might it be similar to modern a GPU's "register file"? Maxwell (current generation NVidia) has 64KB of registers.
How did you come up with 2048 bytes for x64, though? I get 16 * 32B = 256 if I count logical registers, or 168 * 32B = 5376 if I count physical (for Haswell).
- dbaupp 12y agoAVX-512 has 32 512-bit registers.
- userbinator 12y agoArchitecturally, it would merely be a matter of taking the register selection bits not from the instruction itself but from some other source, like another register; there will certainly be a bit more complexity due to dependencies etc. 2048 bytes since AVX-512 has 32 registers, each 512 bits (64 bytes) wide.
- zvrba 12y ago> Architecturally, it would merely be a matter of taking the register selection bits Except these do not exist for individual SIMD lanes; that's why you have permutation instructions. Treating individual lanes as registers would increase the needed number of addressing bits, which I'm sure would complicate stuff much more than "just" changing the possible source.
- nkurz 12y agoThis Intel Forum post entitled "AVX-512 is a big step forward - but repeating past mistakes" addresses some of these issues: https://software.intel.com/en-us/forums/topic/477541 https://software.intel.com/en-us/forums/topic/477541 The debate is essentially whether AVX-512 is making a mistake by giving up 8-bit and 16-bit operations. Agner feels it's a mistake, but other smart people argue that it's not a problem.
- innocenat 12y agoAnd those has been added back in AVX512BW.
- nkurz 12y agoThanks! That's big news, and I'd missed it: https://software.intel.com/en-us/blogs/additional-avx-512-instructions https://software.intel.com/en-us/blogs/additional-avx-512-in...
- Narishma 12y agoThere seems to be only one person in that thread arguing that it's not a problem.