| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-05-18 | x86_64: fix float min/max behavior | Jacob Young | |
| 2023-05-18 | Revert "Sema: handle recursive inferred errors better in ↵ | Andrew Kelley | |
| analyzeIsNonErrComptimeOnly" This reverts commit 5aa9628de3c6637f45b9d8cf8cbd19c422a74f6f. This is a breaking language change and I do not agree with it. Please go through the proposal process on this one. | |||
| 2023-05-18 | make `@trap` return unreachable/noreturn (#15749) | zooster | |
| `@trap` is a special function that we know never returns so it should behave just like `@panic` and `@compileError` do currently and cause the "unreachable code" + "control flow is diverted here" compile error. Currently, `@trap(); @trap();` does not cause this error. Now it does. | |||
| 2023-05-16 | Merge pull request #15713 from alichraghi/ali-spirv | Andrew Kelley | |
| spirv: get more behavior tests passing | |||
| 2023-05-15 | Merge pull request #15704 from Vexu/fix-memcpyset | Andrew Kelley | |
| `@mem{cpy,set}` fixes | |||
| 2023-05-15 | spirv: lower ptrtoint & ignore dbg_inline instructions | Ali Chraghi | |
| 2023-05-15 | spirv: implement arithmeticTypeInfo for Enum (`@intToEnum`) | Ali Chraghi | |
| 2023-05-15 | Sema: use `elemPtrOneLayerOnly` in `zirMemCpy` | Veikka Tuominen | |
| Closes #15633 | |||
| 2023-05-15 | Sema: ensure dest ptr of memcpy has length | Veikka Tuominen | |
| Closes #15513 | |||
| 2023-05-15 | x86_64: implement integer vector bitwise operations | Jacob Young | |
| 2023-05-15 | x86_64: implement integer vector mul | Jacob Young | |
| 2023-05-15 | x86_64: fix `@clz` and `@ctz` of `u8` | Jacob Young | |
| 2023-05-15 | x86_64: redo movement, float negation, and `@fabs` | Jacob Young | |
| 2023-05-15 | x86_64: reimplement `@floatToInt` | Jacob Young | |
| 2023-05-15 | Dwarf: fix overflow write byte_size | Jacob Young | |
| 2023-05-15 | x86_64: implement calling function references | Jacob Young | |
| 2023-05-15 | x86_64: implement global payload pointers | Jacob Young | |
| 2023-05-15 | x86_64: implement integer vector movement | Jacob Young | |
| 2023-05-15 | x86_64: implement stack probing | Jacob Young | |
| 2023-05-15 | x86_64: fix field_ptr nonsense | Jacob Young | |
| 2023-05-15 | codegen: implement global enum_numbered | Jacob Young | |
| 2023-05-15 | x86_64: implement union_init | Jacob Young | |
| 2023-05-15 | x86_64: add missing multply of `f16` | Jacob Young | |
| 2023-05-15 | spirv: lower float_to_int and int_to_float | Ali Chraghi | |
| 2023-05-13 | Update all std.mem.tokenize calls to their appropriate function | Ryan Liptak | |
| Everywhere that can now use `tokenizeScalar` should get a nice little performance boost. | |||
| 2023-05-13 | Merge pull request #15643 from Vexu/fixes | Veikka Tuominen | |
| make `@call` compile errors match regular calls | |||
| 2023-05-12 | Sema: handle recursive inferred errors better in analyzeIsNonErrComptimeOnly | Veikka Tuominen | |
| Closes #15669 | |||
| 2023-05-11 | setup spirv backend in behavior tests | Ali Chraghi | |
| 2023-05-11 | Merge pull request #15519 from dweiller/issue-15482 | Andrew Kelley | |
| Optimize lowering of `s[start..][0..len]` | |||
| 2023-05-11 | Merge pull request #15639 from jacobly0/signed-mod | Andrew Kelley | |
| llvm/cbe: fix signed `@mod`/`@divFloor` computations | |||
| 2023-05-11 | fix incorrect use of mutable pointers to temporary values | Veikka Tuominen | |
| 2023-05-11 | Sema: return const pointers from ref inits | Veikka Tuominen | |
| Closes #12189 | |||
| 2023-05-10 | llvm: fix `@max`/`@min` of unsupported float types | Jacob Young | |
| Closes #15611 | |||
| 2023-05-10 | llvm/cbe: fix signed `@mod`/`@divFloor` computations | Jacob Young | |
| Closes #15636 | |||
| 2023-05-09 | fix `[x]u65529` and above overflowing | r00ster91 | |
| ``` $ cat overflow.zig test { var a: [1]u65535 = undefined; _ = a; } $ zig-out/bin/zig test overflow.zig thread 290266 panic: integer overflow zig/src/type.zig:3604:55: 0xada43d in intAbiAlignment (zig) std.math.ceilPowerOfTwoPromote(u16, (bits + 7) / 8), ^ zig/src/type.zig:3598:42: 0xadd4ea in intAbiSize (zig) const alignment = intAbiAlignment(bits, target); ^ zig/src/type.zig:3500:61: 0x92be91 in abiSizeAdvanced (zig) return AbiSizeAdvanced{ .scalar = intAbiSize(bits, target) }; ^ zig/src/type.zig:3385:62: 0x928933 in abiSizeAdvanced (zig) switch (try payload.elem_type.abiSizeAdvanced(target, strat)) { ^ zig/src/type.zig:3268:32: 0x92c012 in abiSize (zig) return (abiSizeAdvanced(ty, target, .eager) catch unreachable).scalar; ^ ``` This is only noticed in a debug build of zig and silently does the wrong thing and overflows in release builds. This happened to `[x]u65529` and above because of the ` + 7` on a `u16`. | |||
| 2023-05-08 | x86_64: implement binary operations for `f16` and `f16` vectors | Jacob Young | |
| 2023-05-08 | x86_64: implement `@floor`, `@ceil`, and `@trunc` for float vectors | Jacob Young | |
| 2023-05-08 | x86_64: implement `@sqrt` for `f16` scalars and vectors | Jacob Young | |
| 2023-05-08 | x86_64: implement float cast from `f16` to `f64` | Jacob Young | |
| 2023-05-08 | Dwarf: workaround crash | Jacob Young | |
| 2023-05-08 | x86_64: implement some float and float vector movement | Jacob Young | |
| This allows actually storing value of these supported types in registers, and not restricting them to stack slots. | |||
| 2023-05-08 | x86_64: implement `@mulAdd` | Jacob Young | |
| 2023-05-08 | x86_64: fix unordered float equality | Jacob Young | |
| 2023-05-08 | x86_64: implement f16 conversions when supported | Jacob Young | |
| 2023-05-08 | x86_64: implement `@ctz` and `@clz` for `u128` | Jacob Young | |
| 2023-05-08 | Disallow named test decls with duplicate names | Dominic | |
| 2023-05-07 | test: disable by-length slice test on wasm backend | dweiller | |
| 2023-05-07 | test: add behavior tests for pointer slice-by-length | dweiller | |
| 2023-05-07 | test: add behavior tests for slice-by-length | dweiller | |
| 2023-05-03 | x86_64: implement movement of more types | Jacob Young | |
| * f16 * f128 * vector | |||
