aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/codegen
AgeCommit message (Collapse)Author
2020-07-13stage2: add retvoid support to CBEAndrew Kelley
2020-06-28zig fmt and delete unused typeAndrew Kelley
2020-06-28stage2: implement function parametersAndrew Kelley
In codegen.zig, the std.Target.Cpu.Arch is now generally available as a comptime value where needed. This is a tradeoff that causes the compiler binary to be more bloated, but gives us higher performance, since the optimizer can optimize per architecture (which is usually how compilers are designed anyway, with different code per-architecture), and it also allows us to use per-architecture types, such as a Register enum that is specific to the comptime-known architecture. Adds abiSize method to Type.
2020-06-08[Stage2/x86] Fix 8-bit register orderNoam Preil
2020-05-22[Stage2/Codegen] Typo fixNoam Preil
2020-05-22[Stage2/Codegen] Document x64 register enum layoutNoam Preil
2020-05-17move some files aroundAndrew Kelley