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 bff98e7 commit ee45ba9Copy full SHA for ee45ba9
src/hotspot/cpu/riscv/vm_version_riscv.cpp
@@ -203,15 +203,15 @@ void VM_Version::common_initialize() {
203
}
204
205
206
- // Misc Intrinsics could depend on RVV
+ // Misc Intrinsics that could depend on RVV.
207
208
- if (UseZba || UseRVV) {
+ if (!AvoidUnalignedAccesses && (UseZba || UseRVV)) {
209
if (FLAG_IS_DEFAULT(UseCRC32Intrinsics)) {
210
FLAG_SET_DEFAULT(UseCRC32Intrinsics, true);
211
212
} else {
213
if (!FLAG_IS_DEFAULT(UseCRC32Intrinsics)) {
214
- warning("CRC32 intrinsic requires Zba or RVV instructions (not available on this CPU)");
+ warning("CRC32 intrinsic are not available on this CPU.");
215
216
FLAG_SET_DEFAULT(UseCRC32Intrinsics, false);
217
0 commit comments