8335191: RISC-V: verify perf of chacha20
Reviewed-by: fyang
This commit is contained in:
parent
6e228ce382
commit
9d8791864e
@ -252,7 +252,9 @@ void VM_Version::initialize() {
|
||||
}
|
||||
|
||||
// ChaCha20
|
||||
if (UseRVV) {
|
||||
if (UseRVV && MaxVectorSize >= 32) {
|
||||
// performance tests on hardwares (MaxVectorSize == 16, 32) show that
|
||||
// it brings regression when MaxVectorSize == 16.
|
||||
if (FLAG_IS_DEFAULT(UseChaCha20Intrinsics)) {
|
||||
FLAG_SET_DEFAULT(UseChaCha20Intrinsics, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user