[vectorIntrinsics] RFR: 8264469: Add Insert float nodes implementation for Arm SVE
Wang Huang
whuang at openjdk.java.net
Thu Apr 1 03:24:30 UTC 2021
On Wed, 31 Mar 2021 09:02:52 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>> Add Insert float nodes implementation for Arm SVE, like insertD & insertF
>
> src/hotspot/cpu/aarch64/aarch64_sve.ad line 3326:
>
>> 3324: __ sve_index(as_FloatRegister($tmp$$reg), __ S, 0, 1);
>> 3325: __ sve_dup(as_FloatRegister($tmp2$$reg), __ S, (int)($idx$$constant));
>> 3326: __ sve_cmpeq(as_PRegister($pTmp$$reg), size, ptrue,
>
> SVE support immedicate CMP: `CMPEQ <Pd>.<T>, <Pg>/Z, <Zn>.<T>, #<imm>`. Could you please use the imm version here? We can save one `dup` instruction here.
Sure. Thank you for your wonderful advice.
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/56
More information about the panama-dev
mailing list