On Fri, 31 Mar 2023 12:17:49 GMT, Quan Anh Mai <[email protected]> wrote:
>> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-VectorBits.java.template
>> line 1106:
>>
>>> 1104: @Override
>>> 1105: @ForceInline
>>> 1106: public int laneSource(int i) {
>>
>> Can this method be moved to `AbstractShuffle`?
>
> No because `T lane(int)` is a method of the typed vector classes which is not
> available in `AbstractVector`
Ah, doh!, yes of course, we would need to specialize the shuffle.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13093#discussion_r1154671839