Commit graph

37218 commits

Author SHA1 Message Date
Alex Rønne Petersen
6f0feccef5
stage1: update zig1.wasm
Signed-off-by: Alex Rønne Petersen <alex@alexrp.com>
2026-02-19 19:17:06 +01:00
Alex Rønne Petersen
4eedad1170
Revert "test: disable hexagon-linux-musl C ABI tests for now"
This reverts commit fce7878a91.

The bug was fixed in LLVM 22.
2026-02-19 19:16:59 +01:00
Alex Rønne Petersen
bd0a5082a7
Revert "std.zig.system: disable vector support on s390x for now"
This reverts commit 1cd913a0ec.

The bug was fixed in LLVM 22.
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
449d33bf17
Revert "std.mem: work around LoongArch inline asm bug in doNotOptimizeAway()"
This reverts commit e7f1624e6e.

The bug was fixed in LLVM 22.
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
d6dd695b82
Revert "test: skip alternative constraints behavior test on LoongArch"
This reverts commit f90548e740.

The bug was fixed in LLVM 22.
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
35b5a4f5f8
Revert "std.math.modf: disable vector test on LoongArch with LSX"
This reverts commit 35d2b1e99a.

The bug was fixed in LLVM 22.
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
3eb3a8bea1
Revert "test: disable some vector ctz/clz behavior tests on LoongArch with LSX"
This reverts commit beb25b0430.

The bug was fixed in LLVM 22.
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
d26184c33b
Revert "std.zig.system: Force soft_float feature on for MIPS soft float targets."
This reverts commit 71a237e764.

The bug was fixed in LLVM 22.
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
a995fd8bed
std.zig.system.x86: improve AVX10 detection 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
bbc2b5a6b5
std.zig.system.x86: require OS APX save support for APX features 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
ed1f56ca84
std.zig.system.x86: detect more APX features 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
baf3bb9a86
std.zig.system.x86: detect Diamonds Rapids, Wildcat Lake, and Nova Lake 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
144e528dc7
std.zig.system.x86: fix prefetchi detection on AMD 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
7b276d61d2
std.zig.system.arm: add detection for a bunch more cores 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
1fce94cccc
std.zig.system.windows: update aarch64 CPU feature detection 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
d9965fc5bb
std.os.windows: update PF feature flags from winnt.h 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
2e6055d82a
test: disable switch on pointer type behavior test with LLVM
See: https://github.com/llvm/llvm-project/issues/176634

ref https://github.com/ziglang/zig/issues/23509
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
0eb6876aed
compiler: fix and simplify DllMainCRTStartup handling
See: https://github.com/llvm/llvm-project/pull/171680
2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
4eb6a3703b
compiler: let LLVM set the 64bit feature from the target triple on powerpc targets 2026-02-19 19:14:07 +01:00
Alex Rønne Petersen
6cbf1bae1d
compiler: let LLVM set the x32 feature from the target triple on x86 targets 2026-02-19 19:14:06 +01:00
Alex Rønne Petersen
281a9dfa0a
llvm: wire up the xtensa backend
As of LLVM 22, it can produce assembly and object files. No LLD support,
however, so using it is still a bit of a pain.
2026-02-19 19:14:06 +01:00
Alex Rønne Petersen
e71e9cd121
llvm: switch to wasip<n> for preview wasi versions in triples 2026-02-19 19:14:06 +01:00
Alex Rønne Petersen
1ad73c30fd
llvm: switch most targets to using half and fp128 IR types
As of LLVM 22, most backends can (finally) handle legalization of these types as
necessary, so we don't need to do it ourselves anymore.

closes https://github.com/ziglang/zig/issues/23674
2026-02-19 19:14:00 +01:00
Alex Rønne Petersen
5a5aef163b
compiler-rt: additionally export __trunctfhf2 as __trunckfhf2 on powerpc
This is the name LLVM 22 expects.
2026-02-19 15:43:21 +01:00
Alex Rønne Petersen
3d93eeff3a
std.zig.llvm.Builder: fix writing u64 max constant for type bit_count > 64 2026-02-19 15:43:21 +01:00
Alex Rønne Petersen
bdc3c52e43
std.Target: fuchsia supports arm/thumb now 2026-02-19 15:43:21 +01:00
Alex Rønne Petersen
8f59b2d59e
llvm: update data layout strings to LLVM 22 2026-02-19 15:43:21 +01:00
Alex Rønne Petersen
fbbc274d53
zig cc: update options data to LLVM 22 2026-02-19 15:43:21 +01:00
Alex Rønne Petersen
29e61cf08a
std.Target: update CPU and feature data to LLVM 22 2026-02-19 15:43:21 +01:00
Alex Rønne Petersen
5a899c8910
libtsan: update to LLVM 22 2026-02-19 15:43:20 +01:00
Alex Rønne Petersen
ba6adb2dc9
libunwind: update to LLVM 22 2026-02-19 15:43:20 +01:00
Alex Rønne Petersen
7ede15da60
libcxx: update to LLVM 22 2026-02-19 15:43:20 +01:00
Alex Rønne Petersen
1576e4181c
llvm-libc: update to LLVM 22 2026-02-19 15:43:20 +01:00
Alex Rønne Petersen
e5ede37983
libcxxabi: update to LLVM 22 2026-02-19 15:43:20 +01:00
Alex Rønne Petersen
a98f7e42f4
zig cc: update intrinsic headers to LLVM 22 2026-02-19 15:43:20 +01:00
Alex Rønne Petersen
7687fc353f
zig cc: update driver files to LLVM 22 2026-02-19 15:43:20 +01:00
Alex Rønne Petersen
87041c8979
cmake: update to LLVM 22
closes https://codeberg.org/ziglang/zig/issues/30558
2026-02-19 15:43:20 +01:00
Marcel W. Wysocki
0e3c6514a4 link: recognize thin archives in ld script detection
Needed for linking the Linux kernel.
2026-02-17 23:15:32 +01:00
Alex Rønne Petersen
0fd8dc8ea6 ci: update to qemu 10.2.1 2026-02-17 19:16:25 +01:00
Marcel W. Wysocki
0e45a44991 cc: disable implicit runtimes with -nostdlib, matching clang 2026-02-16 19:42:13 +08:00
Andrew Kelley
27eec9bd62 Revert "Allow overriding std.Io at a namespace level."
This reverts commit e314dadb01.

This idea requires more consideration before committing to it.
At the very least let's not regress autodocs.

Closes #31230
2026-02-15 20:26:12 -08:00
vitalii
1838134200 fix segfault when /etc/hosts missing last newline 2026-02-15 23:12:13 +01:00
rpkak
17dd2f0a85 spirv: implement AIR tag struct_field_ptr 2026-02-15 23:09:24 +01:00
Iku Iwasa
8c83acd3d4 Add missing EV flags for NetBSD
- Add FLAG1, ERROR and EOF.
2026-02-15 23:08:11 +01:00
Andrew Kelley
c8f54a2f07 Merge pull request 'std.Io: remove select function' (#31223) from remove-select into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31223
2026-02-15 19:29:21 +01:00
Jacob Young
5763f7dbcc std.Io.Evented: clean up supporting code for select 2026-02-15 05:52:07 -05:00
Andrew Kelley
d9fc7fa04d std.Io: remove select function
This function works with a slice of futures and returns the index of a
completed one. This doesn't work very well in practice because it's
either too high level or too low level.

At the lower level we have Io.Batch for doing this kind of thing at the
Operation API layer.

At the higher level we have Io.Select which is a convenience wrapper
around an Io.Group and an Io.Queue.
2026-02-14 18:31:48 -08:00
Andrew Kelley
c6eeae8a8c Merge pull request 'std.math.acos/asin: Add @Vector(?,f32) and @Vector(?,f64) support' (#31209) from lzm-build/zig:acos_asin_simd into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31209
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
2026-02-14 23:35:03 +01:00
Jacob Young
771047ae93 Io.Dispatch.sleep: add cancelation support 2026-02-14 16:26:49 -05:00
Jacob Young
b7f93695f9 Io.Dispatch.Mutex: fix deadlock conditions 2026-02-14 05:52:59 -05:00