| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-01-01 | cbe: add msvc flt atomics, re-enable test | kcbanner | |
| 2023-01-01 | cbe: all behaviour tests now pass on msvc | kcbanner | |
| - Fix zig_clz_u128 not respecting the bits argument. This was crashing the compile-rt addxf3 tests with the cbe - Instead of redering a negation for negative 128 bit int literals, render the literal as twos complement. This allows rendering int representations of floats correctly (specifically f80). | |||
| 2023-01-01 | tests: disable function alignment test for cbe, add 128-bit atomicrmw tests | kcbanner | |
| 2023-01-01 | cbe: implement 128 bit atomic operations with cmpxchg loops | kcbanner | |
| - Enable 128 bit atomic int tests for the cbe only | |||
| 2023-01-01 | tests: update "atomicrmw with ints" to test u8 through u64 | kcbanner | |
| 2023-01-01 | cbe: msvc atomics | kcbanner | |
| - Implement most atomic operations for msvc - Disable "atomicrmw with floats" test for cbe | |||
| 2023-01-01 | temporarily disable asm tests | kcbanner | |
| 2022-12-31 | add tests for fixed stage1 bugs | Veikka Tuominen | |
| Closes #4144 Closes #4255 Closes #4372 Closes #4375 Closes #4380 Closes #4417 Closes #4423 Closes #4476 Closes #4528 Closes #4562 Closes #4572 Closes #4597 Closes #4639 Closes #4672 Closes #4782 Closes #4955 Closes #4984 Closes #4997 Closes #5010 Closes #5114 Closes #5166 Closes #5173 Closes #5276 | |||
| 2022-12-29 | Merge pull request #14101 from Vexu/stage1 | Andrew Kelley | |
| add tests for fixed stage1 bugs | |||
| 2022-12-29 | add tests for fixed stage1 bugs | Veikka Tuominen | |
| Closes #1957 Closes #1994 Closes #2140 Closes #2746 Closes #2802 Closes #2855 Closes #2895 Closes #2981 Closes #3054 Closes #3158 Closes #3234 Closes #3259 Closes #3371 Closes #3376 Closes #3387 Closes #3529 Closes #3653 Closes #3750 Closes #3778 Closes #3882 Closes #3915 Closes #3929 Closes #3961 Closes #3988 Closes #4123 Closes #7448 | |||
| 2022-12-29 | stage2 AArch64: implement errUnion{Err,Payload} for registers | joachimschmidt557 | |
| 2022-12-27 | disable failing C var arg behavior tests | Andrew Kelley | |
| See tracking issue #14096 | |||
| 2022-12-27 | Revert "aarch64: reenable tests that are no longer regressed" | Andrew Kelley | |
| This reverts commit 3370d58956ecc744a004dff47b0437473f0ef7da. This commit was done with an LLVM build that did not have assertions enabled. There are LLVM assertions being triggered due to this commit. Reopens #10627 Reopens #12013 Reopens #12027 | |||
| 2022-12-27 | add behavior test for ptrcasted function pointers | Andrew Kelley | |
| See #2626. The runtime case is solved but comptime is not. | |||
| 2022-12-27 | add behavior test for comptime pointer casting | Andrew Kelley | |
| comptime `@ptrCast` a subset of an array, then write through it closes #2444 | |||
| 2022-12-27 | add behavior test for optional error union return type | Andrew Kelley | |
| closes #1814 | |||
| 2022-12-27 | Merge pull request #14024 from Vexu/overflow-arithmetic | Andrew Kelley | |
| Make overflow arithmetic builtins return tuples | |||
| 2022-12-27 | Merge pull request #14084 from joachimschmidt557/stage2-aarch64 | Jakub Konka | |
| stage2 AArch64: small improvements | |||
| 2022-12-27 | enable test on more targets | Veikka Tuominen | |
| This was fixed by 8a0a6b7387fcd0017db85de14793abfd6ec7f6e5 for targets without avx512 | |||
| 2022-12-27 | value: fix bitcasting packed structs with `u0` fields | Veikka Tuominen | |
| Closes #13942 | |||
| 2022-12-27 | stage2 AArch64: implement field_parent_ptr | joachimschmidt557 | |
| 2022-12-27 | stage2 AArch64: unify callee-preserved regs on all targets | joachimschmidt557 | |
| also enables many passing behavior tests | |||
| 2022-12-27 | update uses of overflow arithmetic builtins | Veikka Tuominen | |
| 2022-12-27 | llvm: add asserts and behavior tests for #14063 | Jacob Young | |
| Closes #14063 | |||
| 2022-12-26 | Merge pull request #14015 from Vexu/recursive-inline | Andrew Kelley | |
| Sema: add error for recursive inline call | |||
| 2022-12-26 | Sema: add error for recursive inline call | Veikka Tuominen | |
| Closes #12973 | |||
| 2022-12-26 | Sema: fix elem ptr type of vector in slice | Veikka Tuominen | |
| Closes #14071 | |||
| 2022-12-26 | Sema: add missing `resolveLazyValue` cases | Jacob Young | |
| Closes #14032 | |||
| 2022-12-25 | Sema: fix missing struct layout for llvm backend | Jacob Young | |
| Closes #14063 | |||
| 2022-12-24 | Merge pull request #14058 from jacobly0/concat | Andrew Kelley | |
| 2022-12-24 | behavior: disable tests on failing backends | Jacob Young | |
| 2022-12-24 | Sema: relax undefined checks for concat | Jacob Young | |
| Closes #14037 | |||
| 2022-12-24 | Sema: support concat of tuple and array | Jacob Young | |
| Closes #14041 | |||
| 2022-12-24 | behavior: disable tests that trigger an llvm 15 bug and assertion | Jacob Young | |
| ``` LLVM Emit Object... zig: llvm/include/llvm/ADT/APInt.h:840: void llvm::APInt::lshrInPlace(unsigned int): Assertion `ShiftAmt <= BitWidth && "Invalid shift amount"' failed. Aborted ``` Tracked by #13782 | |||
| 2022-12-23 | fix overflow found while fuzzing | travisstaloch | |
| * allow file level `union {}` to parse as tuple field this was found while fuzzing zls. * before this patch the input `union {}` crashed the parser. after this, it parses correctly just like `struct {}`. * adds behavior tests for both inputs `struct {}` and `union {}`, checking that each becomes a file level tuple field. | |||
| 2022-12-22 | Merge pull request #13960 from r00ster91/stage1cruft | Andrew Kelley | |
| Close more old stage1 issues | |||
| 2022-12-21 | behavior: more test coverage | r00ster91 | |
| Closes #12450 Closes #13113 Closes #12051 Closes #12092 Closes #12119 Closes #12142 Closes #12450 Closes #13113 Closes #11995 Closes #12000 | |||
| 2022-12-21 | CBE: fix bitwise not | Jacob Young | |
| Closes #13911 | |||
| 2022-12-20 | Merge pull request #14004 from Vexu/packed-struct-vector | Veikka Tuominen | |
| llvm: handle vectors in packed structs | |||
| 2022-12-20 | Sema: fix crash with generic function with generic function parameter | Veikka Tuominen | |
| Closes #12810 | |||
| 2022-12-19 | Merge pull request #14000 from jacobly0/zero-bit-fields | Andrew Kelley | |
| codegen: fix taking the address of a field in a zero-bit struct | |||
| 2022-12-19 | Sema: fix coercion from `[:0]T` to `[*c]T` | Veikka Tuominen | |
| 2022-12-19 | value: use int tag type when querying for tag value | Veikka Tuominen | |
| Closes #13757 | |||
| 2022-12-19 | behavior: disable failing test | Jacob Young | |
| Also add an assert to catch this issue earlier. For future reference, the decl without a type and value is the string literal "GET". | |||
| 2022-12-19 | llvm: handle vectors in packed structs | Veikka Tuominen | |
| Closes #13201 | |||
| 2022-12-18 | codegen: fix taking the address of a zero-bit field in a zero-bit struct | Jacob Young | |
| Normally when we want a pointer to the end of a struct we just add 1 to the struct pointer. However, when it is a zero-bit struct, the pointer type being used during lowering is often a dummy pointer type that actually points to a non-zero-bit type, so we actually want to add 0 instead, since a zero-bit struct begins and ends at the same address. | |||
| 2022-12-18 | llvm: fix lowering pointer to final zero-width field of a comptime value | Jacob Young | |
| * Handle a `null` return from `llvmFieldIndex`. * Add a behavior test to test this code path. * Reword this test name, which incorrectly described how pointers to zero-bit fields behave, and instead describe the actual test. | |||
| 2022-12-18 | add behavior test for empty error set inference | Andrew Kelley | |
| closes #1386 closes #7541 | |||
| 2022-12-18 | add behavior test for comptime pointer casting | Andrew Kelley | |
| closes #1150 closes #1292 closes #4093 | |||
| 2022-12-18 | Merge pull request #13914 from Vexu/variadic | Andrew Kelley | |
| implement defining C variadic functions | |||
