[vectorIntrinsics] RFR: 8274631: assert(false) failed: bad AD file with -XX:UseKNLSetting
Jatin Bhateja
jbhateja at openjdk.java.net
Fri Oct 1 18:13:50 UTC 2021
On Fri, 1 Oct 2021 16:45:37 GMT, Paul Sandoz <psandoz 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).
>
> src/hotspot/share/opto/vectorIntrinsics.cpp line 2416:
>
>> 2414: ((src_type->isa_vect() && dst_type->isa_vectmask()) ||
>> 2415: (dst_type->isa_vect() && src_type->isa_vectmask()))) {
>> 2416: return false;
>
> Should we add `if (C->print_intrinsics()) { ... }` in this case?
Intrinsification is prevented due to an internal implementation constraint of compiler, I think it will not provide any useful information to user in this case.
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/141
More information about the panama-dev
mailing list