| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-12-04 | CBE: fix liveness issue with wrapping optionals | Andrew Kelley | |
| 2022-12-04 | CBE: remove stray comment | Andrew Kelley | |
| 2022-12-04 | CBE: fix union init wrong field name | Andrew Kelley | |
| 2022-12-04 | CBE: aggregate_init: resolve all operands before processing Liveness | Andrew Kelley | |
| 2022-12-04 | CBE and LLVM: handle unused try instructions | Andrew Kelley | |
| In both backends they did not observe the Liveness information for try instructions. Now they do. For the C backend this is necessary for correctness; for the LLVM backend, it improves code generation. | |||
| 2022-12-04 | CBE: fix various regressions caught by behavior tests | Andrew Kelley | |
| 2022-12-04 | CBE: fix static allocs being double allocated | Andrew Kelley | |
| 2022-12-04 | CBE: avoid curly inits because they don't work in assignments | Andrew Kelley | |
| 2022-12-04 | CBE: fix use-after-free of Type keys in free_locals map | Andrew Kelley | |
| 2022-12-04 | CBE: fix assignment expr and switch free tracking | Andrew Kelley | |
| 2022-12-04 | CBE: fix clone of freed locals not being deep clone | Andrew Kelley | |
| 2022-12-04 | CBE: take advantage of switch_br and cond_br liveness | Andrew Kelley | |
| 2022-12-04 | CBE: exploit Liveness analysis to reuse locals | Andrew Kelley | |
| 2022-12-04 | Revert "cbe: reduce amount of temporary locals" | Andrew Kelley | |
| This reverts commit 15cc83e27ae8a1740d9b7e2ec14044903979a832. | |||
| 2022-12-04 | Revert "cbe: write more instructions inline" | Andrew Kelley | |
| This reverts commit f8b779c114a5fcb82f08168912f2300d7027a2fd. | |||
| 2022-12-03 | cbe: add forward declarations for optionals and error unions | Jacob Young | |
| Arrays will have to wait for type rewrite. | |||
| 2022-12-03 | cbe: implement function alignment | Jacob Young | |
| 2022-12-03 | cbe: fix zero-bit struct field pointer | Jacob Young | |
| 2022-12-03 | cbe: implement multiple exports of a symbols | Jacob Young | |
| 2022-12-03 | cbe: don't emit extern decls that are already exported | Jacob Young | |
| 2022-12-03 | cbe: fix named constraints without modifiers | Jacob Young | |
| 2022-12-03 | CBE: no braces when lowering block instruction | Andrew Kelley | |
| This change alone solves the bracket-depth issue when compiling zig1.c with Clang. | |||
| 2022-12-03 | Merge pull request #13748 from jacobly0/c-unaligned | Andrew Kelley | |
| cbe: use memcpy for underaligned loads and stores | |||
| 2022-12-02 | cbe: add support for constraint modifiers specified after a colon | Jacob Young | |
| This translates `%[name:mod]` to `%mod[name]` for C. | |||
| 2022-12-02 | cbe: use memcpy for underaligned loads and stores | Jacob Young | |
| 2022-12-02 | CBE: use bool, true, false, instead of `zig_` prefixes | Andrew Kelley | |
| In general the C backend should lower to human-maintainable C code whenever possible. Directly using C types that one would use when writing C code is one part of the strategy. The concern with including stdint.h is C89 compatibility. Well, we can just check the C std lib version before deciding to include that header. | |||
| 2022-12-02 | CBE: use a 0 literal instead of `error.@"(no error)"` | Andrew Kelley | |
| This saves bytes and is easier to read too. | |||
| 2022-12-02 | CBE: eliminate zig_void | Andrew Kelley | |
| C void is perfectly fine. | |||
| 2022-11-30 | cbe: write more instructions inline | Veikka Tuominen | |
| 2022-11-30 | cbe: do not memcpy identical integer types when bitcasting | Veikka Tuominen | |
| 2022-11-30 | cbe: reduce amount of temporary locals | Veikka Tuominen | |
| 2022-11-30 | cbe: fix asm return values | Veikka Tuominen | |
| 2022-11-30 | cbe: prevent access of inactive union field in unimplemented instructions | Veikka Tuominen | |
| 2022-11-30 | cbe: include hash in tuple type name | Veikka Tuominen | |
| Different (simple) tuple types do not necessarily print out as different strings. This is issue would be caused by passing std.fmt.Formatter to std.fmt.format. | |||
| 2022-11-30 | cbe: implement packed unions | Veikka Tuominen | |
| 2022-11-30 | cbe: correctly handle pointers to zero bit error union payloads | Veikka Tuominen | |
| 2022-11-30 | cbe: operand of address of operator must be an lvalue | Veikka Tuominen | |
| 2022-11-30 | cbe: cast pointer switch target to int | Veikka Tuominen | |
| 2022-11-30 | cbe: ensure test and tagName function names are unique | Veikka Tuominen | |
| 2022-11-29 | std.mem.Allocator: allow shrink to fail | Andrew Kelley | |
| closes #13535 | |||
| 2022-11-25 | Merge pull request #13627 from Vexu/tuple-decls | Andrew Kelley | |
| Implement tuple type declarations | |||
| 2022-11-23 | work around stage1 compile error | Andrew Kelley | |
| 2022-11-23 | Sema: implement tuple declarations | Veikka Tuominen | |
| 2022-11-22 | C backend: implement vector reduce and overflow intrinsics | Andrew Kelley | |
| 2022-11-19 | c backend: Output string literals for array init of bytes | Jimmi Holst Christensen | |
| 2022-11-18 | run zig fmt on everything checked by CI | Stevie Hryciw | |
| 2022-11-16 | cbe: fix identifiers colliding with the short keyword | Jacob Young | |
| 2022-11-15 | cbe: fixed tagged union initializers of a zero-bit field type | Jacob Young | |
| Fixes missing braces warnings on gcc 11.3.0. | |||
| 2022-11-15 | cbe: fix indexing with a zero-bit element type | Jacob Young | |
| Fixes void dereference warnings on gcc 11.3.0. | |||
| 2022-11-15 | zig.h: match float comparison signatures from compiler rt | Jacob Young | |
