Lime3DS/src/common/aarch64
Wunk bb1301b98e shader_jit_a64: Compact host executable memory (#230)
* common/aarch64: Allow generic code generator types

Use the templated `BasicCodeGenerator` type rather than the specialized
`CodeGenerator` type.
Allows `VectorCodeGenerator` to work with these functions.

* common/aarch64: Add `VectorCodeGenerator` to `CallFarFunction`

`VectorCodeGenerator` will always do far-calls since we cannot resolve any absolute addresses here.

* shader_jit_a64: Implement position-independent VectorCodeGenerator

Generates more position-independent assembly to allow for code to be
generated within a resizable vector before copying into executable
memory, allowing for more compact memory allocations and usage rather
than a statically defined worst-case for all-cases.

`VectorCodeGenerator` will need to generate position-independent code
rather than use absolute addresses. Assumes all far function calls in the
case of `VectorCodeGenerator` to use absolute addresses rather than
potentially use a relative `BL` branch after memory relocation.
2024-11-07 14:47:30 +01:00
..
cpu_detect.cpp misc: fix issues pointed out by msvc (#7316) 2024-01-07 12:37:42 -08:00
cpu_detect.h build: Update to support multi-arch builds. 2023-01-07 01:09:32 -08:00
oaknut_abi.h shader_jit_a64: Compact host executable memory (#230) 2024-11-07 14:47:30 +01:00
oaknut_util.h shader_jit_a64: Compact host executable memory (#230) 2024-11-07 14:47:30 +01:00