We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e228ce commit 9d87918Copy full SHA for 9d87918
src/hotspot/cpu/riscv/vm_version_riscv.cpp
@@ -252,7 +252,9 @@ void VM_Version::initialize() {
252
}
253
254
// ChaCha20
255
- if (UseRVV) {
+ if (UseRVV && MaxVectorSize >= 32) {
256
+ // performance tests on hardwares (MaxVectorSize == 16, 32) show that
257
+ // it brings regression when MaxVectorSize == 16.
258
if (FLAG_IS_DEFAULT(UseChaCha20Intrinsics)) {
259
FLAG_SET_DEFAULT(UseChaCha20Intrinsics, true);
260
0 commit comments