[vectorIntrinsics] RFR: 8265321: Add Rearrange nodes implementation for Arm SVE

Wang Huang whuang at openjdk.java.net
Mon Apr 19 06:28:50 UTC 2021


On Mon, 19 Apr 2021 03:42:14 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> * Add Rearrange nodes implementation for Arm SVE, like rearrangeB/I/S/L
>> * add `sve_tbl` , which reads each element of the second source (index) vector and uses its value to select an indexed element from the first source (table) vector, and places the indexed table element in the destination vector element corresponding to the index vector element. If an index value is greater than or equal to the number of vector elements then it places zero in the corresponding destination vector element.[1]
>> 
>> [1]  https://developer.arm.com/documentation/ddi0596/2020-12/SVE-Instructions/TBL--Programmable-table-lookup-in-single-vector-table-?lang=en
>
> src/hotspot/cpu/aarch64/aarch64_sve.ad line 4080:
> 
>> 4078:   %}
>> 4079:   ins_pipe(pipe_slow);
>> 4080: %}
> 
> At least merge `long/double` and `float/int` ? The format looks the same.

I think it's my fault. The comment is `L` for `rearrangeL` instead of `D`. I will fix it in my next patch.

-------------

PR: https://git.openjdk.java.net/panama-vector/pull/70


More information about the panama-dev mailing list