aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/codegen/x86_64.zig
AgeCommit message (Collapse)Author
2020-09-21rename src-self-hosted/ to src/Andrew Kelley
2020-08-11stage2: basic support for parameters .debug_infoAndrew Kelley
see #6014
2020-07-29stage2: register-aliasing-aware codegenAndrew Kelley
* unify duplicated register allocation codepath * support the x86_64 concept of register aliasing * slightly improved memset codegen, supports sizes 1, 2, 4, 8
2020-07-27stage2: implement integer return valuesAndrew Kelley
2020-07-20stage2: implement register copyingAndrew Kelley
2020-07-20stage2: codegen: refactor to always have comptime archAndrew 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