changeset 6497:e806d32ca07a

8139421: PPC64LE: MacroAssembler::bxx64_patchable kill register R12 Summary: Register R12 must be preserved for stub calls (e.g. deopt handler). Reviewed-by: goetz
author mdoerr
date Mon, 12 Oct 2015 12:20:38 +0200
parents 5f801a6bfcfd
children 237e197452b9
files src/cpu/ppc/vm/macroAssembler_ppc.cpp
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/ppc/vm/macroAssembler_ppc.cpp	Wed Feb 19 14:03:09 2014 -0800
+++ b/src/cpu/ppc/vm/macroAssembler_ppc.cpp	Mon Oct 12 12:20:38 2015 +0200
@@ -573,13 +573,6 @@
            "can't identify emitted call");
   } else {
     // variant 1:
-#if defined(ABI_ELFv2)
-    nop();
-    calculate_address_from_global_toc(R12, dest, true, true, false);
-    mtctr(R12);
-    nop();
-    nop();
-#else
     mr(R0, R11);  // spill R11 -> R0.
 
     // Load the destination address into CTR,
@@ -589,7 +582,6 @@
     mtctr(R11);
     mr(R11, R0);  // spill R11 <- R0.
     nop();
-#endif
 
     // do the call/jump
     if (link) {