llvm-6502/lib/ExecutionEngine
Tim Northover 4a9b6b798d AArch64: add stubs to support long function calls on MCJIT
As with global accesses, external functions could exist anywhere in
memory. Therefore the stub must create a complete 64-bit address. This
patch implements the fragment as (roughly):
    movz x16, #:abs_g3:somefunc
    movk x16, #:abs_g2_nc:somefunc
    movk x16, #:abs_g1_nc:somefunc
    movk x16, #:abs_g0_nc:somefunc
    br x16

In principle we could save 4 bytes by using a literal-load instead,
but it is unclear that would be more efficient and can only be tested
when real hardware is readily available.

This allows (for example) the MCJIT test 2003-05-07-ArgumentTest to
pass on AArch64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181133 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-04 20:14:09 +00:00
..
IntelJITEvents
Interpreter Teach the interpreter to handle vector compares and additional vector arithmetic operations. 2013-04-26 20:19:41 +00:00
JIT
MCJIT This exposes more MCJIT options via the C API: 2013-05-01 22:58:00 +00:00
OProfileJIT
RuntimeDyld AArch64: add stubs to support long function calls on MCJIT 2013-05-04 20:14:09 +00:00
CMakeLists.txt
EventListenerCommon.h
ExecutionEngine.cpp Make the host endianness check an integer constant expression. 2013-04-15 14:44:24 +00:00
ExecutionEngineBindings.cpp This exposes more MCJIT options via the C API: 2013-05-01 22:58:00 +00:00
LLVMBuild.txt
Makefile
TargetSelect.cpp