RFR: 8273297: AES/GCM non-AVX512+VAES CPUs suffer after 8267125

Smita Kamath svkamath at openjdk.java.net
Thu Sep 16 20:46:49 UTC 2021


On Mon, 13 Sep 2021 12:50:12 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> src/hotspot/share/opto/library_call.cpp line 6796:
>> 
>>> 6794: 
>>> 6795:   Node* avx512_subkeyHtbl = new_array(klass_node, intcon(96), 0);
>>> 6796:   if (avx512_subkeyHtbl == NULL) return false;
>> 
>> This looks very Intel-specific, but it's in generic code. Please make this constant 96 a symbol and push it into a header file in the x86 back end.
>
> Likewise, the name prefix "avx512_" isn't appropriate for code that will certainly be used by other targets.

I'll modify the code. Thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/5402



More information about the security-dev mailing list