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

Ningsheng Jian njian at openjdk.java.net
Mon Oct 11 03:00:19 UTC 2021


On Fri, 1 Oct 2021 18:51:05 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> - Fix for assertion failure in test/hotspot/jtreg/compiler/vectorapi/VectorMaskCastTest.java crashes during compilation over KNL target.
>> - A safety check has been added to prevent intrinsification of VectorMask.cast API if source and destination have incompatible ideal types i.e one is predicate vector type (TypeVectMask) and other a vector type (TypeVect).
>
> 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

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

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


More information about the panama-dev mailing list