From 1a2be965e185d0acaa8cff90dc8ffcef1f0c9b85 Mon Sep 17 00:00:00 2001 From: goetz Date: Wed, 29 Jan 2014 12:22:13 +0100 Subject: [PATCH] 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 --- src/cpu/ppc/vm/ppc.ad | 5 +++++ src/cpu/ppc/vm/stubGenerator_ppc.cpp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/cpu/ppc/vm/ppc.ad b/src/cpu/ppc/vm/ppc.ad index 173d54451..cb1d75dc0 100644 --- a/src/cpu/ppc/vm/ppc.ad +++ b/src/cpu/ppc/vm/ppc.ad @@ -2143,6 +2143,11 @@ const bool Matcher::misaligned_vectors_ok() { 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. // diff --git a/src/cpu/ppc/vm/stubGenerator_ppc.cpp b/src/cpu/ppc/vm/stubGenerator_ppc.cpp index 0fc349153..1cd4d2959 100644 --- a/src/cpu/ppc/vm/stubGenerator_ppc.cpp +++ b/src/cpu/ppc/vm/stubGenerator_ppc.cpp @@ -2052,6 +2052,10 @@ class StubGenerator: public StubCodeGenerator { // 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, -- GitLab