Mercurial > hg > graal-jvmci-8
comparison src/cpu/ppc/vm/macroAssembler_ppc.inline.hpp @ 17803:31e80afe3fed
8035647: PPC64: Support for elf v2 abi.
Summary: ELFv2 ABI used by the little endian PowerPC64 on Linux.
Reviewed-by: kvn
Contributed-by: asmundak@google.com
author | goetz |
---|---|
date | Thu, 06 Mar 2014 10:55:28 -0800 |
parents | 67fa91961822 |
children | 58cf34613a72 |
comparison
equal
deleted
inserted
replaced
17802:7c462558a08a | 17803:31e80afe3fed |
---|---|
383 } | 383 } |
384 inline void MacroAssembler::trap_range_check_ge(Register a, int si16) { | 384 inline void MacroAssembler::trap_range_check_ge(Register a, int si16) { |
385 twi(traptoEqual | traptoGreaterThanUnsigned, a/*reg a*/, si16); | 385 twi(traptoEqual | traptoGreaterThanUnsigned, a/*reg a*/, si16); |
386 } | 386 } |
387 | 387 |
388 #if defined(ABI_ELFv2) | |
389 inline address MacroAssembler::function_entry() { return pc(); } | |
390 #else | |
391 inline address MacroAssembler::function_entry() { return emit_fd(); } | |
392 #endif | |
393 | |
388 #endif // CPU_PPC_VM_MACROASSEMBLER_PPC_INLINE_HPP | 394 #endif // CPU_PPC_VM_MACROASSEMBLER_PPC_INLINE_HPP |