aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/CodeGen.zig
AgeCommit message (Collapse)Author
2023-12-03x86_64: implement more atomic opsJacob Young
2023-12-03Air: use typesafe `Air.Inst.Index`Jacob Young
I need some indices for a thing...
2023-12-01test: test with `-fstrip` and fix failuresJacob Young
Closes #17513
2023-11-26move Module.Decl.Index and Module.Namespace.Index to InternPoolMeghan Denny
2023-11-25convert `toType` and `toValue` to `Type.fromInterned` and `Value.fromInterned`Techatrix
2023-11-19compiler: correct unnecessary uses of 'var'mlugg
2023-11-14x86_64: actually track state during `@divFloor` of `i128`Jacob Young
Closes #17998
2023-11-12x86_64: resolve tlv references on first use and spill to the stackJacob Young
This avoids any arbitrary memory operand possibly clobbering rax and sometime rdi with no warning.
2023-11-12x86_64: remove unreachable Elf prongJakub Konka
2023-11-12elf: set symbol flags such as needs_zig_got in ZigObjectJakub Konka
2023-11-12Dwarf: improve x86_64 backend debug infoJacob Young
Closes #17811
2023-11-08x86_64: fix signed not of more than 64 bitsJacob Young
2023-11-08x86_64: fix optional comparisonJacob Young
2023-11-06x86_64: fix passing register-sized payload as non-reigster-sized unionJacob Young
Closes #17885
2023-11-05x86_64: fix indirect return of `f80`Jacob Young
2023-11-05x86_64: fix tracking during `br`Jacob Young
2023-11-04Merge pull request #17844 from ziglang/elf-objectJakub Konka
elf: handle emitting relocatables and static libraries - humble beginnings
2023-11-04x86_64: fix miscompilationsJacob Young
Closes #17618
2023-11-04elf: postpone creation of .got.zig entry until code emitJakub Konka
2023-11-04elf: make sure we never emit .got.zig relocs when linking object filesJakub Konka
2023-11-03x86_64: reduce `RegisterManager` performance regressionJacob Young
This reduces the regression from 0.11.0 by 95%. Closes #17678
2023-11-03x86_64: fix std test failuresJacob Young
2023-10-30elf: move incremental codegen bits into ZigObject.zigJakub Konka
2023-10-30coff: implement enough of extern handling to pass comptime export testsJakub Konka
2023-10-30macho: implement enough of extern handling to pass comptime export testsJakub Konka
2023-10-29x86_64: fix compiler rt test failuresJacob Young
2023-10-29x86_64: refactor codegen memory reprJacob Young
Also refactor linker reloc lowering.
2023-10-29x86_64: fix hazard between pic call and sysv ccJacob Young
2023-10-28x86_64: handle .load_symbol in more placesJacob Young
2023-10-28x86_64: handle .load_symbol in mul_with_overflow and mul_divJakub Konka
2023-10-28x86_64: pass behavior tests PIC and non-PICJakub Konka
2023-10-28x86_64: no more load/lea_symbol weirdnessJakub Konka
2023-10-28x86_64: rename load/lea_memory to load/lea_symbolJakub Konka
2023-10-28x86_64: do not hardcode memory passed by Elf linkerJakub Konka
2023-10-27x86_64: fix c abi test failuresJacob Young
2023-10-27x86_64: fix `cond_br`Jacob Young
2023-10-27x86_64: fix `@memset`Jacob Young
2023-10-27x86_64: add missing spillJacob Young
2023-10-26x86_64: add missing spillsJacob Young
2023-10-26x86_64: fix behavior of `getValue`Jacob Young
Old behavior renamed to `getValueIfFree`.
2023-10-26x86_64: implement `@divFloor` and `@mod` for `i128`Jacob Young
2023-10-25x86_64: pass more testsJacob Young
* 128-bit integer multiplication with overflow * more instruction encodings used by std inline asm * implement the `try_ptr` air instruction * follow correct stack frame abi * enable full panic handler * enable stack traces
2023-10-23x86_64: implement inline asm GOT reference for PIC targetsJacob Young
2023-10-23x86_64: implement 128-bit builtinsJacob Young
* `@clz` * `@ctz` * `@popCount` * `@byteSwap` * `@bitReverse` * various encodings used by std
2023-10-23x86_64: implement `@mod` for floating-point typesJacob Young
2023-10-23x86_64: implement enough to pass unicode testsJacob Young
* implement vector comparison * implement reduce for bool vectors * fix `@memcpy` bug * enable passing std tests
2023-10-22Revert "Revert "Merge pull request #17637 from jacobly0/x86_64-test-std""Jacob Young
This reverts commit 6f0198cadbe29294f2bf3153a27beebd64377566.
2023-10-22Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"Andrew Kelley
This reverts commit 0c99ba1eab63865592bb084feb271cd4e4b0357e, reversing changes made to 5f92b070bf284f1493b1b5d433dd3adde2f46727. This caused a CI failure when it landed in master branch due to a 128-bit `@byteSwap` in std.mem.
2023-10-21x86_64: fix bugs and disable erroring testsJacob Young
2023-10-21x86_64: disable difficult std tests and hack around more zero-bit typesJacob Young