RFR: 8294588: Auto vectorize half precision floating point conversion APIs [v5]

Vladimir Kozlov kvn at openjdk.org
Tue Dec 6 23:37:15 UTC 2022


On Tue, 6 Dec 2022 23:26:46 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Smita Kamath has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Addressed review comment
>
> src/hotspot/cpu/x86/assembler_x86.cpp line 1958:
> 
>> 1956:   InstructionMark im(this);
>> 1957:   InstructionAttr attributes(vector_len, /* rex_w */ false, /* legacy_mode */ false, /* no_mask_reg */ true, /*uses_vl */ true);
>> 1958:   attributes.set_address_attributes(/* tuple_type */ EVEX_HVM, /* input_size_in_bits */ EVEX_NObit);
> 
> Is it correct to set `EVEX_*` attributes in case EVEX is switched off (by `UseAVX` flag)?

Or a CPU supports F16C but does not EVEX (avx512f).

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

PR: https://git.openjdk.org/jdk/pull/11471


More information about the hotspot-compiler-dev mailing list