changeset 6026:b0d6418ec84d

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
author goetz
date Mon, 13 Nov 2017 18:32:03 +0000
parents f0056ab1c6fc
children 8d1cd1a98556
files src/cpu/ppc/vm/ppc.ad src/cpu/ppc/vm/stubGenerator_ppc.cpp
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/ppc/vm/ppc.ad	Mon Nov 13 18:28:30 2017 +0000
+++ b/src/cpu/ppc/vm/ppc.ad	Mon Nov 13 18:32:03 2017 +0000
@@ -2445,6 +2445,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/src/cpu/ppc/vm/stubGenerator_ppc.cpp	Mon Nov 13 18:28:30 2017 +0000
+++ b/src/cpu/ppc/vm/stubGenerator_ppc.cpp	Mon Nov 13 18:32:03 2017 +0000
@@ -2093,6 +2093,10 @@
     // arraycopy stubs used by compilers
     generate_arraycopy_stubs();
 
+    if (UseAESIntrinsics) {
+      guarantee(!UseAESIntrinsics, "not yet implemented.");
+    }
+
     // Safefetch stubs.
     generate_safefetch("SafeFetch32", sizeof(int),     &StubRoutines::_safefetch32_entry,
                                                        &StubRoutines::_safefetch32_fault_pc,