[vectorIntrinsics] RFR: 8264469: Add Insert float nodes implementation for Arm SVE
Ningsheng Jian
njian at openjdk.java.net
Thu Apr 1 08:09:46 UTC 2021
On Thu, 1 Apr 2021 07:57:22 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>>> 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.
>>
>> I have remembered why I choose this `cmpeq`. If you use `immedicate CMP`, the `# <imm>` is in range `[-16,15]`. I think we should use `cmpeq` in my codes.
>
> OK, so a vector CMP is needed here. Thanks for the explanation!
Maybe you can check whether idx is in CMPEQ imm range to generate different code?
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/56
More information about the panama-dev
mailing list