diff options
| author | David Rubin <daviru007@icloud.com> | 2024-04-03 00:15:56 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-05-11 02:17:11 -0700 |
| commit | 6740c1f0849dd2615859e4d65df355087165e073 (patch) | |
| tree | 71e28e23a53dea1dd6a882a2c737ed1ad3a3c14c /test/behavior/basic.zig | |
| parent | 9d0bb6371df31dd25e86b7ef4161852740f39f07 (diff) | |
| download | zig-6740c1f0849dd2615859e4d65df355087165e073.tar.gz zig-6740c1f0849dd2615859e4d65df355087165e073.zip | |
riscv: big rewrite to use latest liveness
this one is even harder to document then the last large overhaul.
TLDR;
- split apart Emit.zig into an Emit.zig and a Lower.zig
- created seperate files for the encoding, and now adding a new instruction
is as simple as just adding it to a couple of switch statements and providing the encoding.
- relocs are handled in a more sane maner, and we have a clear defining boundary between
lea_symbol and load_symbol now.
- a lot of different abstractions for things like the stack, memory, registers, and others.
- we're using x86_64's FrameIndex now, which simplifies a lot of the tougher design process.
- a lot more that I don't have the energy to document. at this point, just read the commit itself :p
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions
