[vectorIntrinsics] RFR: 8274631: assert(false) failed: bad AD file with -XX:UseKNLSetting [v2]
Ningsheng Jian
njian at openjdk.java.net
Mon Oct 11 06:20:19 UTC 2021
On Mon, 11 Oct 2021 05:26:48 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
>> src/hotspot/share/opto/vectorIntrinsics.cpp line 2417:
>>
>>> 2415: // through a vector or predicate register.
>>> 2416: if (is_mask &&
>>> 2417: ((src_type->isa_vect() && dst_type->isa_vectmask()) ||
>>
>> Unfortunately, this will block all vectmask cast operations, since currently a vectmask type is also a vect type. @jatin-bhateja
>
> Thanks, yes it was a typo, check should be following:-
>
> + ((src_type->isa_vectmask() == NULL && dst_type->isa_vectmask()) ||
> + (dst_type->isa_vectmask() == NULL && src_type->isa_vectmask()))) {
>
> @nsjian can you file a bug a propose a fix on above line.
I created JDK-8275025 with the simple fix, but I am not able to verify that on x86. Please have a check: https://github.com/openjdk/panama-vector/pull/151
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/141
More information about the panama-dev
mailing list