[vectorIntrinsics] RFR: 8287289: Gather/Scatter with Index Vector
Joshua Zhu
jzhu at openjdk.java.net
Thu May 26 09:32:47 UTC 2022
On Wed, 25 May 2022 23:42:02 GMT, Quan Anh Mai <duke at openjdk.java.net> wrote:
> I think we could use `VectorShuffle` for the index map argument. They are both index vectors, after all.
Thanks for your comments. Agree, I think using "VectorShuffle" in Gather/Scatter to represent index map is a good suggestion.
> A problem would be that `VectorShuffle` is backed up by a byte vector, which limits the indices that can be referred to by gather/scatter. But IMO we should address that problem also. Thanks.
Yes. I'm thinking about how much influence will bring if replace byte vector with int vector.
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/201
More information about the panama-dev
mailing list