RFR: 8351950: C2: AVX512 vector assembler routines causing SIGFPE / no valid evex tuple_table entry [v2]

Jatin Bhateja jbhateja at openjdk.org
Mon May 12 12:17:11 UTC 2025


On Tue, 6 May 2025 16:40:31 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Correcting tuple types in some assembler routines
>
> src/hotspot/cpu/x86/assembler_x86.cpp line 11571:
> 
>> 11569:   attributes.set_is_evex_instruction();
>> 11570:   attributes.set_embedded_opmask_register_specifier(mask);
>> 11571:   attributes.set_address_attributes(/* tuple_type */ EVEX_FV, /* input_size_in_bits */ EVEX_NObit);
> 
> @jatin-bhateja How are these `perm` cases related to the `min / max` cases that were reported? I did also not find a test below.

@eme64 , it seems this routine is not being used in JIT code currently. I am making it functionally correct. There are few other cases which I have discovered and I think its appropriate to correct those as well along with this PR.
I am modifying the PR title to appropriately match with the patch.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25021#discussion_r2084534821


More information about the hotspot-compiler-dev mailing list