[vectorIntrinsics] RFR: 8263417: Add Extract integer nodes implementation for Arm SVE
Ningsheng Jian
njian at openjdk.java.net
Mon Mar 15 08:15:24 UTC 2021
On Fri, 12 Mar 2021 02:23:18 GMT, Wang Huang <whuang at openjdk.org> wrote:
> * Add Extract integer nodes implementation for Arm SVE, like ExtractB/ExtractS/ExtractI/ExtractL
> * add `sve_lasta(Register, SIMD_RegVariant, PRegister, FloatRegister)` & `sve_lastb`
src/hotspot/cpu/aarch64/aarch64_sve.ad line 3004:
> 3002: ins_encode %{
> 3003: __ movzw(as_Register($tmp$$reg), (int)($idx$$constant));
> 3004: __ sve_whilele(as_PRegister($pTmp$$reg), __ B, zr, as_Register($tmp$$reg));
I think we can use rscratch1 here to save one register. See https://github.com/openjdk/panama-vector/pull/49
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/48
More information about the panama-dev
mailing list