[vectorIntrinsics] RFR: 8274631: assert(false) failed: bad AD file with -XX:UseKNLSetting [v2]

Jatin Bhateja jbhateja at openjdk.java.net
Mon Oct 11 05:30:18 UTC 2021


On Mon, 11 Oct 2021 02:55:40 GMT, Ningsheng Jian <njian at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8274631: Review comment resolution.
>
> 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.

-------------

PR: https://git.openjdk.java.net/panama-vector/pull/141


More information about the panama-dev mailing list