mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -5,10 +5,11 @@ graph of tens of thousands of blocks): the lift's chunks of ~2 MB functions (cod
|
||||
build's lifted compile time at 4-7x the seconds per MB of ordinary chunks. The lifter's own cut (a64_lift.split_large: an
|
||||
extra entry where no branch crosses) cannot cut these: each is one big loop nest.
|
||||
|
||||
Why it is exact: a lifted function keeps all guest state in the context (c->x[], c->vreg[], NZCV, FPCR/FPSR) and in guest
|
||||
memory; each guest instruction is one top-level statement whose C locals live inside its own block, and labels are written
|
||||
only at the top level (third_party/a64-kit/lift/a64_lift.py emit_function). So before any top-level label nothing but *c
|
||||
and memory is live, and the body can be cut there:
|
||||
Why it is exact: a lifted function keeps all guest state in the context (c->x[], c->vreg[], FPCR/FPSR; NZCV too with
|
||||
A64_LOCAL_FLAGS=0, in locals by default: see the guest locals below) and in guest memory; each guest instruction is one
|
||||
top-level statement whose C locals live inside its own block, and labels are written only at the top level
|
||||
(third_party/a64-kit/lift/a64_lift.py emit_function). So before any top-level label nothing but *c and memory is live,
|
||||
and the body can be cut there:
|
||||
- a piece `static uintptr_t s_<addr>_<n>(Ctx *c, uintptr_t k)` starts at the label whose id is k (or at its first
|
||||
statement), runs its statements as written, and returns what comes next: 0 (the guest returned), a label id (a goto
|
||||
into another piece, with its interrupt poll kept), or a tail-call id (a guest branch into another function);
|
||||
|
||||
Reference in New Issue
Block a user