RFR: 8341527: AVX-512 intrinsic for SHA3 [v4]

Volodymyr Paprotski duke at openjdk.org
Wed Oct 16 15:42:15 UTC 2024


On Wed, 16 Oct 2024 15:31:35 GMT, Ferenc Rakoczi <duke at openjdk.org> wrote:

>> src/hotspot/cpu/x86/assembler_x86.cpp line 8581:
>> 
>>> 8579:   assert(vector_len == AVX_128bit ? VM_Version::supports_avx() :
>>> 8580:         (vector_len == AVX_256bit ? VM_Version::supports_avx2() : VM_Version::supports_evex()), "");
>>> 8581:   // TODO check what legacy_mode needs to be set to
>> 
>> Drive-by comment: There's a TODO left in here.
>
> Actually, I was hoping that I would learn that from a reviewer @vpaprotsk or @vnkozlov , do you know? I was not able to figure it out from the manual what it should be. (with the current setting "false" at least my code works on the test machines that I tried, but I never tried with "true")

I am looking it up.. gimme a bit? Though I was thinking about the UseSHA3Intrinsic flag.. missed this one..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21352#discussion_r1803366455


More information about the hotspot-dev mailing list