RFR: 8315716: RISC-V: implement ChaCha20 intrinsic
Hamlin Li
mli at openjdk.org
Wed Sep 27 10:09:44 UTC 2023
On Mon, 25 Sep 2023 13:04:59 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:
>> src/hotspot/cpu/riscv/vm_version_riscv.cpp line 191:
>>
>>> 189: if (UseRVV && FLAG_IS_DEFAULT(UseChaCha20Intrinsics)) {
>>> 190: FLAG_SET_DEFAULT(UseChaCha20Intrinsics, true);
>>> 191: }
>>
>> Just below this we may set RVV to false.
>> I would put this just above "#ifdef COMPILER2" or so.
>
> 👍 https://github.com/openjdk/jdk/pull/15899/files#diff-7b173d6e5834de13749c8333192fef5a874628a67b90a5d8d06235d507542ac4R255 seems like the ideal place.
Thanks Robbin, Fixed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15899#discussion_r1335921835
More information about the hotspot-dev
mailing list