| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-12-10 | stage2: sparc64: Implement airWrapErrUnionPayload | Koakuma | |
| 2022-12-10 | stage2: sparc64: Add extra note about stack_offset MCV | Koakuma | |
| 2022-12-10 | stage2: sparc64: Implement airTrunc | Koakuma | |
| 2022-12-10 | stage2: sparc64: Implement airSplat | Koakuma | |
| 2022-12-10 | stage2: sparc64: Implement airUnionInit | Koakuma | |
| 2022-12-10 | stage2: sparc64: Implement airErrorName | Koakuma | |
| 2022-12-10 | stage2: sparc64: Implement get/setUnionTag | Koakuma | |
| 2022-12-09 | Eliminate `BoundFn` type from the language | Veikka Tuominen | |
| Closes #9484 | |||
| 2022-12-05 | dwarf: pull out debug line program internals into DeclState helpers | Jakub Konka | |
| 2022-12-04 | wasm codegen: fix some missing Liveness reaps | Andrew Kelley | |
| I did not do a full audit, but I did notice a few issues which are resolved in this commit. Probably it would be worth adding debug infrastructure to assert that the number of reaps equals the number of calls to resolveInst() per air lowering function. | |||
| 2022-12-03 | Merge pull request #13744 from Vexu/stage2-fixes | Andrew Kelley | |
| Improve error messages, fix dependency loops | |||
| 2022-12-03 | Sema: fix comparisons between lazy and runtime values | Veikka Tuominen | |
| Closes #12498 | |||
| 2022-12-02 | dwarf: pass linker Tag and owner Decl.Index instead of *Atom | Jakub Konka | |
| 2022-12-02 | x86: do not deref ptr type, let Dwart do it | Jakub Konka | |
| 2022-12-02 | dwarf: use common DI union object for arg and var gen | Jakub Konka | |
| 2022-12-01 | dwarf: move Wasm specific dwarf gen out of codegen | Jakub Konka | |
| 2022-12-01 | dwarf: refactor arm and riscv64 to the new scheme | Jakub Konka | |
| 2022-12-01 | dwarf: fix typos after refactoring dbi gen | Jakub Konka | |
| 2022-12-01 | codegen: make LinkerLoad a common struct shared by backends | Jakub Konka | |
| 2022-12-01 | dwarf: extract common logic for generating func var dbg info | Jakub Konka | |
| 2022-12-01 | dwarf: update arm and riscv codegens to the new model | Jakub Konka | |
| 2022-12-01 | dwarf: extract common logic for generating func arg dbg info | Jakub Konka | |
| 2022-11-30 | codegen: support generating packed structs | Luuk de Gram | |
| 2022-11-30 | wasm: Fix pointer to field of packed struct | Luuk de Gram | |
| When requesting a pointer to a field of a packed struct (of which is not byte-aligned), we simply provide the address of the packed struct itself. | |||
| 2022-11-30 | wasm: support non-natural alignment in load/store | Luuk de Gram | |
| This implements support for loading and storing where the lhs is of pointer type with host_size != 0. e.g. when loading a specific field from a packed struct with a non-byte alignment such as (0:1:3). | |||
| 2022-11-30 | wasm: airAggregateInit - Support packed structs | Luuk de Gram | |
| This allows the Wasm backend to construct an instance of a packed struct during runtime. We first allocate a local, and then shift+or each field's value into the result local. We then finally return this result local as value. The commit also fixes a type-issue in `airElemVal` where we used the element type instead of a pointer type to store the value's address into. | |||
| 2022-11-30 | wasm: support passing packed struct over C-ABI | Luuk de Gram | |
| This also adds support loading a runtime pointer from a packed struct. Also, this commit improves many utility functions such as `trunc` and `intcast` to also support non-integer types such as booleans. | |||
| 2022-11-30 | wasm: airStructFieldPtr - Support packed structs | Luuk de Gram | |
| Simplifies the airStructFieldPtr(index) functions to only obtain the correct struct type and field index, which is then passed into the structFieldPtr function. This function now calculates the byte-offset of the field's address and returns a new `WValue` with this offset. This means we only have to do this calculation in a single function, and no longer have to duplicate any logic. This also handles both regular (tagged) unions and packed unions. | |||
| 2022-11-30 | wasm: airStructFieldVal - Support packed structs | Luuk de Gram | |
| This implements loading a field from a packed struct, regardless of its field's type. This means it supports pointers, floats and integers. The commit also extracts the logic from airTrunc into its own `trunc` function so it can be re-used. | |||
| 2022-11-30 | wasm: Support bitcasting between floats and ints | Luuk de Gram | |
| 2022-11-30 | wasm: add support packed structs in lowerConstant | Luuk de Gram | |
| When lowering constants of packed structs, which are smaller than 65 bits, we lower the value to an integer rather than store it in the constant data section. This allows us to use an immediate value, for quick loads and stores. | |||
| 2022-11-29 | std.mem.Allocator: allow shrink to fail | Andrew Kelley | |
| closes #13535 | |||
| 2022-11-23 | add tests for tuple declarations | Veikka Tuominen | |
| 2022-11-23 | llvm: fix x86_64 sysV ABI of big vectors on avx512 enabled CPUs | Veikka Tuominen | |
| Closes #13629 | |||
| 2022-11-21 | stage2 ARM: misc fixes | joachimschmidt557 | |
| - remove redundant `new` from `binOpRegisterNew` name - fix mul_with_overflow | |||
| 2022-11-20 | compute LLVMTypes in ParamTypeIterator (#13592) | Guillaume Wenzek | |
| follow up on #13376 - fixes a bug in the x86_64 C ABI. Co-authored-by: Veikka Tuominen <git@vexu.eu> | |||
| 2022-11-18 | run zig fmt on everything checked by CI | Stevie Hryciw | |
| 2022-11-10 | Merge pull request #13495 from ziglang/macho-dsym | Jakub Konka | |
| stage2: misc DWARF debug info fixes and additions for x86_64 and aarch64 | |||
| 2022-11-09 | aarch64: handle .stack_argument_offset as a valid local var | Jakub Konka | |
| 2022-11-09 | x86_64: add DWARF encoding for vector registers | Jakub Konka | |
| Clean up how we handle emitting of DWARF debug info for `x86_64` codegen. | |||
| 2022-11-09 | aarch64: emit DWARF debug info for fn params and locals | Jakub Konka | |
| We postpone emitting debug info until *after* we generate the function so that we have an idea of the consumed stack space. The stack offsets encoded within DWARF are with respect to the frame pointer `.fp`. | |||
| 2022-11-08 | aarch64: circumvent zig0 inference problems | Jakub Konka | |
| 2022-11-08 | aarch64: revert changes to .call | Jakub Konka | |
| 2022-11-08 | aarch64: fix implementation of .is_null and .is_non_null | Jakub Konka | |
| 2022-11-08 | aarch64: implement .wrap_optional always saving to the stack | Jakub Konka | |
| 2022-11-08 | aarch64: implement optionalPayload when mcv is register | Jakub Konka | |
| 2022-11-08 | aarch64: implement isNull() for non-pointer optionals | Jakub Konka | |
| 2022-11-08 | aarch64: partially implement optionalPayload() | Jakub Konka | |
| 2022-11-08 | aarch64: partially implement isNull() | Jakub Konka | |
| 2022-11-05 | coff: compile and link simple exit program on arm64 | Jakub Konka | |
| * make image base target dependent * fix relocs to imports | |||
