arm64: Do pc-relative calls to assembly routines from immobile space
commit26d28bed4dc8bf214e074d660c57dc7b72f5bbb3
authorCharles Zhang <charleszhang99@yahoo.com>
Tue, 16 May 2023 12:49:58 +0000 (16 14:49 +0200)
committerCharles Zhang <charleszhang99@yahoo.com>
Sun, 28 May 2023 23:26:42 +0000 (29 01:26 +0200)
tree19657b95a5872f8d8b89b6047caedceeb7355e91
parent028e91a390df070d1ae62347a9d6b3c47f722f46
arm64: Do pc-relative calls to assembly routines from immobile space

This is faster and more compact than loading from the unboxed constant
pool, and also makes it easier to achieve position-independent
code. We need to add another fixup type for unconditional branches.
src/assembly/arm64/support.lisp
src/compiler/arm64/alloc.lisp
src/compiler/arm64/call.lisp
src/compiler/arm64/cell.lisp
src/compiler/arm64/insts.lisp
src/compiler/arm64/macros.lisp
src/compiler/arm64/nlx.lisp
src/compiler/arm64/target-insts.lisp
src/compiler/arm64/vm.lisp