aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-30more stuffmlugg
2025-09-30change one million thingsmlugg
2025-09-30debug: refactor stack frame capturingJacob Young
2025-09-30Merge pull request #25353 from mlugg/x86_64-fasterMatthew Lugg
x86_64: generate better constant memcpy code
2025-09-29libc: update Linux headers to 6.17Alex Rønne Petersen
2025-09-29Merge pull request #25388 from alexrp/ksigactionAlex Rønne Petersen
`std.os.linux`: Fix `k_sigaction` ABI issue on platforms w/o `SA_RESTORER`
2025-09-28std.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscvAlex Rønne Petersen
2025-09-28std.os.linux: delete SA.RESTORER and k_sigaction.restorer for hexagon, ↵Alex Rønne Petersen
loongarch, mips, riscv The kABIs for these architectures don't define these concepts.
2025-09-28musl: delete dead __restore and __restore_rt functions for hexagon, ↵Alex Rønne Petersen
loongarch64, riscv32, riscv64 https://www.openwall.com/lists/musl/2025/09/28/2
2025-09-28musl: delete SA_RESTORER for hexagonAlex Rønne Petersen
https://github.com/quic/musl/pull/7
2025-09-28musl: delete SA_RESTORER for riscv32Alex Rønne Petersen
https://www.openwall.com/lists/musl/2025/09/28/1
2025-09-28libcxx: respond to some feature macro changes in LLVM 20Alex Rønne Petersen
https://github.com/llvm/llvm-project/commit/ba87515fea90b5d55836a8e3be63a7e683ce299d closes #25376
2025-09-27x86_64: fix `@mulAdd` miscompJacob Young
2025-09-27x86_64: fix `~`/`!` miscompsJacob Young
2025-09-27target: x86_64 backend can build compiler rt with coffJacob Young
Without allowing this, the references to `compiler_rt.dll` emitted by the coff linker will prevent the executable from running.
2025-09-27x86_64: fix `@floatFromInt` miscompsJacob Young
2025-09-27tests: fix redundant target in matrixmlugg
Because -fno-llvm is now the default on x86_64-linux, this target was exactly equivalent to one specified earlier in the matrix. This was probably just missed when doing the work to enable the self-hosted backend by default for x86_64.
2025-09-27x86_64: fix unencodable `rem` loweringsmlugg
The memory operand might use one of the extended GPRs R8 through R15 and hence require a REX prefix, but having a REX prefix makes the high-byte register AH unencodeable as the src operand. This latent bug was exposed by this branch, presumably because `select` now happens to be putting something in an extended GPR instead of a legacy GPR. In theory this could be fixed with minimal cost by introducing a way to communicate to `select` that neither the destination memory nor the other temporary can be in an extended GPR. However, I just went for the simple solution which comes at a cost of one trivial instruction: copy the remainder from AH to AL, and *then* copy AL to the destination.
2025-09-27x86_64: fix miscompilation of `mul` on vectors of large intsmlugg
2025-09-27x86_64: generate better constant memcpy codemlugg
`rep movsb` isn't usually a great idea here. This commit makes the logic which tentatively existed in `genInlineMemcpy` apply in more cases, and in particular applies it to the "new" backend logic. Put simply, all copies of 128 bytes or fewer will now attempt this path first, where---provided there is an SSE register and/or a general-purpose register available---we will lower the operation using a sequence of 32, 16, 8, 4, 2, and 1 byte copy operations. The feedback I got on this diff was "Push it to master and if it miscomps I'll revert it" so don't blame me when it explodes
2025-09-27Merge pull request #25373 from mneumann/fix-dragonfly-bootstrapAlex Rønne Petersen
Fix DragonFly bootstrap
2025-09-27ci: remove -Dskip-translate-c from riscv64-linux scriptsAlex Rønne Petersen
This no longer exists and caused the build to fail.
2025-09-27musl: add missing fenv C dummy functions for loongarch64-linux-muslsfAlex Rønne Petersen
https://www.openwall.com/lists/musl/2025/09/27/1 closes #25367
2025-09-27Merge pull request #25362 from alexrp/aro-valistAlex Rønne Petersen
`aro`: `TypeStore`: synchronize `__va_list_tag` logic with Zig's `std.builtin.VaList`
2025-09-27lib/std/c: sync "struct stat" for DragonFlyMichael Neumann
* Add missing functions like ISDIR() or ISREG(). This is required to build the zig compiler * Use octal notation for the S_ constants. This is how it is done for ".freebsd" and it is also the notation used by DragonFly in "sys/stat.h" * Reorder S_ constants in the same order as ".freebsd" does. Again, this follows the ordering within "sys/stat.h"
2025-09-27bootstrap: Add support for DragonFlyMichael Neumann
2025-09-26Update descriptions of -f[no-]error-tracing to match the actual behaviorRyan Liptak
Before https://github.com/ziglang/zig/pull/18160, error tracing defaulted to true in ReleaseSafe, but that is no longer the case. These option descriptions were never updating accordingly.
2025-09-26aro: TypeStore: synchronize __va_list_tag logic with Zig's std.builtin.VaListAlex Rønne Petersen
https://github.com/Vexu/arocc/pull/893 closes #25361
2025-09-26std.builtin: define VaList as `*u8` for uefiAlex Rønne Petersen
2025-09-26std.builtin: remove dead powerpc-darwin handling for VaListAlex Rønne Petersen
2025-09-26std.builtin: define VaList for arc, csky, lanai, m68k, msp430, nvptx, ve, xcoreAlex Rønne Petersen
2025-09-26std.builtin: sort VaList prongs a bitAlex Rønne Petersen
2025-09-26std.builtin: define VaList as `struct { __ap: *anyopaque }` for Arm per AAPCSAlex Rønne Petersen
2025-09-26Merge pull request #25342 from ziglang/fuzz-limitAndrew Kelley
fuzzing: implement limited fuzzing
2025-09-26Merge pull request #25351 from ziglang/chompAndrew Kelley
std.mem: introduce cut functions; rename "index of" to "find"
2025-09-25issue template: translate-c tracked by separate projectAndrew Kelley
2025-09-26ci: remove superfluous -Dtarget=native-native-none in x86_64-freebsd scriptsAlex Rønne Petersen
2025-09-25web ui: fix not sending initial context sometimesAndrew Kelley
This would cause the web ui to crash in js or wasm.
2025-09-25fuzzing: fix off-by-one in limit countAndrew Kelley
2025-09-25Compilation: --debug-rt always DebugAndrew Kelley
--debug-rt previously would make rt libs match the root module. Now they are always debug when --debug-rt is passed. This includes compiler-rt, fuzzer lib, and others.
2025-09-26compiler: move self-hosted backends from src/arch to src/codegenAlex Rønne Petersen
2025-09-26test: remove `pie` test case from test-standaloneAlex Rønne Petersen
We already have test/cases/pie_linux.zig covering this.
2025-09-26ci: stop passing -Dskip-translate-c -Dno-langref on loongarch64-linuxAlex Rønne Petersen
No longer necessary since we've stopped using Clang for this.
2025-09-26test: remove -Dskip-translate-c from test-standaloneAlex Rønne Petersen
No longer necessary since we've stopped using Clang for this.
2025-09-25Merge pull request #24497 from ziglang/aro-translate-cAndrew Kelley
compiler: update aro and translate-c to latest; delete clang translate-c
2025-09-25std.mem: add cutLast and cutScalarLastAndrew Kelley
2025-09-25std.mem: rename all "index of" functionsAndrew Kelley
Moving towards our function naming convention of having one word per concept and constructing function names out of concatenated concepts. In `std.mem` the concepts are: * "find" - return index of substring * "pos" - starting index parameter * "last" - search from the end * "linear" - simple for loop rather than fancy algo * "scalar" - substring is a single element
2025-09-25std.mem: add cut and cutScalar and example usageAndrew Kelley
2025-09-25std.mem: rename chomp to cutAndrew Kelley
2025-09-25CLI: simpler semantics for prefixed integer argsAndrew Kelley