# HG changeset patch # User goetz # Date 1390994533 -3600 # Node ID c4178a748df9080f6c530445c71bcc98ff3112c9 # Parent 752ba2e5f6d0dcd693b86c98d25b3b349bfb4c30 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 diff -r 752ba2e5f6d0 -r c4178a748df9 src/cpu/ppc/vm/ppc.ad --- a/src/cpu/ppc/vm/ppc.ad Tue Feb 25 15:11:18 2014 -0800 +++ b/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. // diff -r 752ba2e5f6d0 -r c4178a748df9 src/cpu/ppc/vm/stubGenerator_ppc.cpp --- a/src/cpu/ppc/vm/stubGenerator_ppc.cpp Tue Feb 25 15:11:18 2014 -0800 +++ b/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,