Compiler back-end for WASM with novel ABI
A compiler back-end targeting WASM and other targets, with a core at a slightly lower abstraction level than WASM and a somewhat novel ABI. It uses SSA form with spilling to a separate "safe stack" to abstract around register file differences across ISAs, and enforces code-pointer integrity for security, extended also to virtual method tables. It supports "partial-ISA migration", letting a program run on multiple cores with slightly different ISA extensions, and "build-migration", migrating a running program to another build in the same address space — e.g. switching an optimized program to a debug build to attach a debugger, or moving from a profiling build to a recompiled optimized build (previously only done by JIT compilers). The first iteration of the main compiler passes is being written.
What it addresses
Handles register file differences across different ISAs, and lets optimized programs be debugged or recompiled via build-migration instead of debugging the optimized binary directly.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Compiler back-end for WASM with novel ABI
A compiler back-end targeting WASM and other targets, with a core at a slightly lower abstraction level than WASM and a somewhat novel ABI. It uses SSA form with spilling to a separate "safe stack" to abstract around register file differences across ISAs, and enforces code-pointer integrity for security, extended also to virtual method tables. It supports "partial-ISA migration", letting a program run on multiple cores with slightly different ISA extensions, and "build-migration", migrating a running program to another build in the same address space — e.g. switching an optimized program to a debug build to attach a debugger, or moving from a profiling build to a recompiled optimized build (previously only done by JIT compilers). The first iteration of the main compiler passes is being written.
Problem: Handles register file differences across different ISAs, and lets optimized programs be debugged or recompiled via build-migration instead of debugging the optimized binary directly.
Posted by @Findecanor · Original source ↗
Source text · @Findecanor · · Source ↗
Compiler back-end for WASM and more, but with the core at a slightly lower abstraction level than WASM and with a somewhat novel ABI.