[vectorIntrinsics] RFR: 8258072: Add Reinterpret nodes implementation for Arm SVE [v2]
Ningsheng Jian
njian at openjdk.java.net
Thu Jan 7 03:17:03 UTC 2021
On Thu, 7 Jan 2021 02:26:20 GMT, Wang Huang <whuang at openjdk.org> wrote:
>> Add reduction nodes support for Arm SVE. Add the backend codegen for node like "VectorReinterpret" .
>> In this patch, We implement these instructs:
>> * reinterpret (src == dst)
>> * reinterpretResize, including,
>> 1) reinterpret(Expand) (src < dst)
>> 2) reinterpret(Shrink) (src > dst)
>>
>> At the same time, we fix a bug (JDK-8258989) because it is not merged in panama-vector/vectorIntrinsics.
>
> Wang Huang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
@Wanghuang-Huawei Please do not have a force-push as it breaks review history.
src/hotspot/cpu/aarch64/aarch64_sve_ad.m4 line 35:
> 33: define(`TYPE2DATATYPE',
> 34: `ifelse($1, `B', `BYTE',
> 35: $1, `S', `SHORT',
Not used in this patch?
src/hotspot/cpu/aarch64/aarch64_sve.ad line 387:
> 385: __ sve_whilelo(as_PRegister($pTmp$$reg), __ B,
> 386: zr, as_Register($tmp$$reg));
> 387: __ sve_cpy(as_FloatRegister($dst$$reg), __ B, ptrue, 0, false);
Is this sve_dup()?
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/30
More information about the panama-dev
mailing list