tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Runtime: the aarch64 Linux context switch, opt-in and untested (issue #45)

The same design as on x86_64: tl_fiber_switch saves the AAPCS64
callee-saved state (x19-x28, fp, lr, d8-d15 and FPCR) on the current
stack, stores sp, loads the other, and returns to the restored lr. A new
fiber's first frame returns into tl_fiber_trampoline, which calls
entry(start) from x19/x20 with fp 0 and lr undefined in its CFI.

There is no aarch64 machine or emulator here, so it is used only with
--cfg tilrt_aarch64_switch; aarch64 keeps corosensei by default. CI
type-checks both, and builds the runtime with the switch so that the
assembly is assembled. The shared fiber code now sits above one arch
module per architecture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 2c3269ca6efc62c6af1de02e52b47c0be0530345

Parents a4862ae

3 fichiers modifiés, 236 ajouts, 87 suppressions