8033117: PPC64: Adapt to 8002074: Support for AES on SPARC
Summary: Implement missing function Matcher::pass_original_key_for_aes() in ppc64 ad file.
Reviewed-by: kvn
--- a/hotspot/src/cpu/ppc/vm/ppc.ad Tue Jan 28 12:28:17 2014 -0800
+++ b/hotspot/src/cpu/ppc/vm/ppc.ad Wed Jan 29 12:22:13 2014 +0100
@@ -2143,6 +2143,11 @@
return false;
}
+// PPC AES support not yet implemented
+const bool Matcher::pass_original_key_for_aes() {
+ return false;
+}
+
// RETURNS: whether this branch offset is short enough that a short
// branch can be used.
//
--- a/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp Tue Jan 28 12:28:17 2014 -0800
+++ b/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp Wed Jan 29 12:22:13 2014 +0100
@@ -2052,6 +2052,10 @@
// arraycopy stubs used by compilers
generate_arraycopy_stubs();
+ if (UseAESIntrinsics) {
+ guarantee(!UseAESIntrinsics, "not yet implemented.");
+ }
+
// PPC uses stubs for safefetch.
generate_safefetch("SafeFetch32", sizeof(int), &StubRoutines::_safefetch32_entry,
&StubRoutines::_safefetch32_fault_pc,