8343827: RISC-V: set AlignVector as false if applicable to enable SLP
Reviewed-by: fyang, luhenry
This commit is contained in:
parent
189fc8ddef
commit
587f2b4b4d
@ -150,11 +150,12 @@ void VM_Version::common_initialize() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (FLAG_IS_DEFAULT(AvoidUnalignedAccesses)) {
|
if (FLAG_IS_DEFAULT(AvoidUnalignedAccesses)) {
|
||||||
if (unaligned_access.value() != MISALIGNED_FAST) {
|
FLAG_SET_DEFAULT(AvoidUnalignedAccesses,
|
||||||
FLAG_SET_DEFAULT(AvoidUnalignedAccesses, true);
|
unaligned_access.value() != MISALIGNED_FAST);
|
||||||
} else {
|
}
|
||||||
FLAG_SET_DEFAULT(AvoidUnalignedAccesses, false);
|
|
||||||
}
|
if (FLAG_IS_DEFAULT(AlignVector)) {
|
||||||
|
FLAG_SET_DEFAULT(AlignVector, AvoidUnalignedAccesses);
|
||||||
}
|
}
|
||||||
|
|
||||||
// See JDK-8026049
|
// See JDK-8026049
|
||||||
|
Loading…
Reference in New Issue
Block a user