|
|
|
|
|
by znwu
1554 days ago
|
|
> In the V-extension, they have an instruction named "vrgather". > But that instruction is not a gather load instruction. This instructoin is just a shuffle instruction. I think on the contrary, x86's permute/shuffle/gather naming is a horrible legacy mess (plus broadcast and other stuff). The channels width, the source selection, the IMM encoding, all basically nonsense and horrifically non-orthogonal. `vrgather` is literally "gather from register, vector". In risc-v, you can gather from 8 consecutive vector registers (maximum size of a vector register group). That means 1024bits on a bare minimum Zv128b machine. This channel width blows out the 256bits/128bits channel nonsense even in AVX512 and deserve a name closer to memory gather. |
|