RFR: 8328181: C2: assert(MaxVectorSize >= 32) failed: vector length should be >= 32
Vladimir Kozlov
kvn at openjdk.org
Tue Mar 26 16:43:22 UTC 2024
On Sun, 24 Mar 2024 09:58:59 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
> This bug fix patch tightens the predication check for small constant length clear array pattern and relaxes associated feature checks. Modified few comments for clarity.
>
> Kindly review and approve.
>
> Best Regards,
> Jatin
src/hotspot/cpu/x86/x86.ad line 1755:
> 1753: case Op_ClearArray:
> 1754: if ((size_in_bits != 512) && !VM_Version::supports_avx512vl()) {
> 1755: return false;
Please add comment to clarify condition. I am reading it as ClearArray will not be supported for NOT avx512 because we can have vector length 512 bits for not avx512.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18464#discussion_r1539707965
More information about the hotspot-compiler-dev
mailing list