--- a/test/hotspot/jtreg/compiler/intrinsics/sha/cli/SHAOptionsBase.java Fri Jun 22 15:58:32 2018 -0700
+++ b/test/hotspot/jtreg/compiler/intrinsics/sha/cli/SHAOptionsBase.java Fri Jun 22 16:11:36 2018 -0700
@@ -74,8 +74,8 @@
* instructions required by the option are not supported.
*/
public static String getWarningForUnsupportedCPU(String optionName) {
- if (Platform.isAArch64() || Platform.isS390x() || Platform.isSparc() ||
- Platform.isX64() || Platform.isX86()) {
+ if (Platform.isAArch64() || Platform.isS390x() || Platform.isSparc()
+ || Platform.isX64() || Platform.isX86() || Platform.isPPC()) {
switch (optionName) {
case SHAOptionsBase.USE_SHA_OPTION:
return SHAOptionsBase.SHA_INSTRUCTIONS_ARE_NOT_AVAILABLE;
@@ -89,8 +89,8 @@
throw new Error("Unexpected option " + optionName);
}
} else {
- throw new Error("Support for CPUs different fromn AARCH64, S390x, SPARC, and X86 "
- + "is not implemented");
+ throw new Error("Support for CPUs different from AARCH64, S390x,"
+ + " SPARC, X86, and PPC is not implemented");
}
}