OSDN Git Service

Trampoline and assembly fixes for ARM64
authorAndreas Gampe <agampe@google.com>
Mon, 24 Mar 2014 23:45:44 +0000 (16:45 -0700)
committerAndreas Gampe <agampe@google.com>
Mon, 24 Mar 2014 23:45:44 +0000 (16:45 -0700)
commitc6ee54e9a9fd67d24c63bd802ef2fe540a4f86a5
tree0d5938790449eb7198f930b2cc6edbd944a9992a
parent572396010f292f9ba0c1509d2160b97ff886460e
Trampoline and assembly fixes for ARM64

Trampolines need a jump, not a call. Expose br in the ARM64
assembler to allow this.

The resolution trampoline is called with the Quick ABI, and will
continue to a Quick ABI function. Then the method pointer must be
in x0.

Change-Id: I4e383b59d6c40a659d324a7faef3fadf0c890178
compiler/trampolines/trampoline_compiler.cc
compiler/utils/arm64/assembler_arm64.cc
compiler/utils/arm64/assembler_arm64.h
runtime/arch/arm64/quick_entrypoints_arm64.S