8033117: PPC64: Adapt to 8002074: Support for AES on SPARC
authorgoetz
Wed, 29 Jan 2014 12:22:13 +0100
changeset 22874 9918cae8623d
parent 22873 74aaad871363
child 22875 a88f7103ce0e
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
hotspot/src/cpu/ppc/vm/ppc.ad
hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp
--- 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,