[vectorIntrinsics+mask] RFR: 8264563: Add masked vector intrinsics for binary/store operations [v2]
Xiaohong Gong
xgong at openjdk.java.net
Wed Apr 7 06:57:34 UTC 2021
On Tue, 6 Apr 2021 22:28:37 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:
>> Xiaohong Gong has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Revert changes of register allocation and new added mask IRs
>
> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template line 694:
>
>> 692: $abstractvectortype$ hi = this.lanewise(LSHL, (op == ROR) ? neg : that);
>> 693: $abstractvectortype$ lo = this.lanewise(LSHR, (op == ROR) ? that : neg);
>> 694: return m != null ? blend(hi.lanewise(OR, lo), m) : hi.lanewise(OR, lo);
>
> Checking for m!=null would cause boxing here.
Yeah, that's true. How about handling the difference separately in the masked/non-masked `lanewise` method?
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/57
More information about the panama-dev
mailing list