| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-24 | Merge pull request #12574 from Vexu/remove-bit-op-type-param | Andrew Kelley | |
| stage2+stage1: remove type parameter from bit builtins | |||
| 2022-08-23 | skip failing f80 behavior tests on Windows | Jakub Konka | |
| 2022-08-22 | stage2+stage1: remove type parameter from bit builtins | Veikka Tuominen | |
| Closes #12529 Closes #12511 Closes #6835 | |||
| 2022-08-18 | AstGen: disallow leading zeroes in int literals and int types | zooster | |
| This makes `0123` and `u0123` etc. illegal. I'm now confident that this is a good change because I actually caught two C header translation mistakes in `haiku.zig` with this. Clearly, `0123` being octal in C (TIL) can cause confusion, and we make this easier to read by requiring `0o` as the prefix and now also disallowing leading zeroes in integers. For consistency and because it looks weird, we disallow it for integer types too (e.g. `u0123`). Fixes #11963 Fixes #12417 | |||
| 2022-08-10 | stage2: Handle lazy values for the % operator | Isaac Freund | |
| 2022-07-23 | Sema: exact division safety | Veikka Tuominen | |
| 2022-07-13 | LLVM: implement signext/zeroext attributes | Andrew Kelley | |
| For calling convention ABI purposes, integer attributes and return values need to have an LLVM attribute signext or zeroext added sometimes. This commit implements that logic. It also implements a proof-of-concept of moving the F16T type from being a compiler_rt hack to being how the compiler lowers f16 in functions that need to match certain calling conventions. Closes #12054 | |||
| 2022-07-09 | these riscv64 behavior tests work for stage1 but not stage2 | Andrew Kelley | |
| 2022-07-08 | disable failing riscv64 tests from LLVM 14 upgrade | Andrew Kelley | |
| See #12054 | |||
| 2022-07-05 | compiler_rt: work around LLVM optimizing __muloti4 to call itself | Andrew Kelley | |
| This is a workaround for https://github.com/llvm/llvm-project/issues/56403 | |||
| 2022-07-05 | disable regressed behavior tests from llvm 14 | Andrew Kelley | |
| See #12012 See #12013 | |||
| 2022-07-05 | disable regressed wasm32 behavior tests from LLVM 14 | Andrew Kelley | |
| 2022-06-25 | stage2 ARM: implement basic intCast and error union wrapping | joachimschmidt557 | |
| 2022-05-19 | x64: re-enable behavior tests | Jakub Konka | |
| 2022-05-18 | wasm: enable 128bit integer behavior tests | Luuk de Gram | |
| 2022-05-16 | aarch64: sub_with_overflow should always track V flag | Jakub Konka | |
| 2022-05-11 | Merge pull request #11628 from ziglang/x64-shifts | Jakub Konka | |
| 2022-05-10 | Sema: comptime float negation supports negative zero | Andrew Kelley | |
| When handling the `negate` ZIR instruction, Zig now checks for a comptime operand and handles it as a special case rather than lowering it as `0 - x` so that the expression `-x` where `x` is a floating point value known at compile-time, will get the negative zero bitwise representation. | |||
| 2022-05-10 | x64: fix binary not implementation | Jakub Konka | |
| 2022-05-10 | x64: enable additional math test | Jakub Konka | |
| 2022-05-10 | x64: implement shl with overflow for non-pow-2 | Jakub Konka | |
| 2022-05-10 | x64: implement shl_with_overflow for powers of two | Jakub Konka | |
| 2022-05-10 | x64: implement missing bits in add_with_overflow and sub_with_overflow | Jakub Konka | |
| 2022-05-10 | x64: implement shl_exact and shr_exact | Jakub Konka | |
| 2022-05-09 | x64: add naive impl of shr | Jakub Konka | |
| 2022-05-07 | stage2: Split `@mulWithOverflow` tests | Luuk de Gram | |
| 2022-05-05 | test: pass extended mul_with_overflow tests on x64 | Jakub Konka | |
| 2022-05-05 | test: test bitwidths between 1...8 and 8...16 for mul_with_overflow | Jakub Konka | |
| 2022-05-05 | test: test more int sizes for @mulWithOverflow builtin | Jakub Konka | |
| 2022-05-05 | aarch64: implement mul_with_overflow for <= 32bit ints | Jakub Konka | |
| Add emitters for `smull`, `umull` and `tst (immediate)` instructions. | |||
| 2022-05-05 | stage2 AArch64: implement shl_with_overflow | joachimschmidt557 | |
| 2022-05-05 | stage2 AArch64: initial implementation of {add,sub}_with_overflow | joachimschmidt557 | |
| 2022-05-03 | temporary fix for stage2/stage1 f128 rounding discrepency | Marc Tiehuis | |
| This is only to get tests running again. The root issue should be fixed in stage1 so rounding is consistent between stages. | |||
| 2022-04-27 | stage1: fix i386-windows f80 sizeof/alignof | Andrew Kelley | |
| 2022-04-27 | disable failing behavior test | Andrew Kelley | |
| This is a new test added in this branch but it is not yet passing for i386-windows with the stage1 compiler. | |||
| 2022-04-27 | enable newly passing behavior tests | Andrew Kelley | |
| closes #11030 | |||
| 2022-04-27 | disable failing behavior tests | Andrew Kelley | |
| 2022-04-27 | compiler-rt: math functions reorg | Andrew Kelley | |
| * unify the logic for exporting math functions from compiler-rt, with the appropriate suffixes and prefixes. - add all missing f128 and f80 exports. Functions with missing implementations call other functions and have TODO comments. - also add f16 functions * move math functions from freestanding libc to compiler-rt (#7265) * enable all the f128 and f80 code in the stage2 compiler and behavior tests (#11161). * update std lib to use builtins rather than `std.math`. | |||
| 2022-04-19 | stage2 AArch64: fix shl, shr, shl_exact, shr_exact | joachimschmidt557 | |
| Introduces the necessary truncation after shift | |||
| 2022-04-19 | stage2 AArch64: implement addwrap, subwrap, mulwrap | joachimschmidt557 | |
| 2022-04-12 | Skip `@rem`/`@mod` tests on stage2, due to missing `fmodl` implementation | Cody Tapscott | |
| 2022-04-02 | wasm: Enable passing behavior tests | Luuk de Gram | |
| This shuffles some tests do ensure the new instructions are tested for the wasm backend, by moving vectors into their own tests as well as move the f16 test cases as those require special operating also. | |||
| 2022-04-01 | stage2 ARM: implement mul_with_overflow for ints <= 16 bits | joachimschmidt557 | |
| 2022-04-01 | stage2 ARM: implement shl_with_overflow for ints <= 32 bits | joachimschmidt557 | |
| 2022-04-01 | stage2 ARM: implement add/sub_with_overflow for ints < 32 bits | joachimschmidt557 | |
| 2022-04-01 | x64: implement add/sub with wrapping and xor op | Jakub Konka | |
| 2022-03-30 | replace other uses of `std.meta.Vector` with `@Vector` (#11346) | Meghan | |
| 2022-03-30 | x64: redo @mulWithOverflow using rax/rdx based multiplication | Jakub Konka | |
| 2022-03-28 | x64: partially fix genImul, enable overflow tests | Jakub Konka | |
| 2022-03-27 | wasm: Enable overflow behavior tests | Luuk de Gram | |
