src/hotspot/cpu/ppc/vm_version_ppc.cpp
Print this page
*** 132,146 ****
--- 132,153 ----
if (PowerArchitecturePPC64 >= 9) {
if (FLAG_IS_DEFAULT(UseCountTrailingZerosInstructionsPPC64)) {
FLAG_SET_ERGO(bool, UseCountTrailingZerosInstructionsPPC64, true);
}
+ if (FLAG_IS_DEFAULT(UseCharacterCompareIntrinsics)) {
+ FLAG_SET_ERGO(bool, UseCharacterCompareIntrinsics, true);
+ }
} else {
if (UseCountTrailingZerosInstructionsPPC64) {
warning("UseCountTrailingZerosInstructionsPPC64 specified, but needs at least Power9.");
FLAG_SET_DEFAULT(UseCountTrailingZerosInstructionsPPC64, false);
}
+ if (UseCharacterCompareIntrinsics) {
+ warning("UseCharacterCompareIntrinsics specified, but needs at least Power9.");
+ FLAG_SET_DEFAULT(UseCharacterCompareIntrinsics, false);
+ }
}
#endif
// Create and print feature-string.
char buf[(num_features+1) * 16]; // Max 16 chars per feature.