Wunk 3e5bbac5a1
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-09-01 12:24:13 +02:00
2024-05-08 11:30:57 +02:00
2017-02-17 13:52:23 +02:00
2018-09-22 14:59:15 -06:00
2024-03-05 09:43:31 +01:00
2024-03-05 12:39:15 +01:00
Description
A Nintendo 3DS Emulator
Readme 63 MiB
Languages
cpp 64.5%
C++ 31.1%
Kotlin 3.5%
CMake 0.6%
GLSL 0.2%