authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-03 07:58:34+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-04 08:29:42+01:00
log9d0bb7ada81f91d16d985340ab8d9fe98ad40565
tree4545a8df74d459370166525c801ae097c87c3f76
parent2958a90515859fa129880e0f7a39d7990dad853f
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Disable 128-bit atomics behavior tests on aarch64_be.

See: https://github.com/ziglang/zig/issues/21892

1 files changed, 2 insertions(+), 1 deletions(-)

test/behavior/atomics.zig+2-1
...@@ -5,7 +5,8 @@ const expectEqual = std.testing.expectEqual;...@@ -5,7 +5,8 @@ const expectEqual = std.testing.expectEqual;
55
6const supports_128_bit_atomics = switch (builtin.cpu.arch) {6const supports_128_bit_atomics = switch (builtin.cpu.arch) {
7 // TODO: Ideally this could be sync'd with the logic in Sema.7 // TODO: Ideally this could be sync'd with the logic in Sema.
8 .aarch64, .aarch64_be => true,8 .aarch64 => true,
9 .aarch64_be => false, // Fails due to LLVM issues.
9 .x86_64 => std.Target.x86.featureSetHas(builtin.cpu.features, .cx16),10 .x86_64 => std.Target.x86.featureSetHas(builtin.cpu.features, .cx16),
10 else => false,11 else => false,
11};12};