mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
test: Disable 128-bit atomics behavior tests on aarch64_be.
See: https://github.com/ziglang/zig/issues/21892
This commit is contained in:
parent
2958a90515
commit
9d0bb7ada8
@ -5,7 +5,8 @@ const expectEqual = std.testing.expectEqual;
|
|||||||
|
|
||||||
const supports_128_bit_atomics = switch (builtin.cpu.arch) {
|
const supports_128_bit_atomics = switch (builtin.cpu.arch) {
|
||||||
// TODO: Ideally this could be sync'd with the logic in Sema.
|
// TODO: Ideally this could be sync'd with the logic in Sema.
|
||||||
.aarch64, .aarch64_be => true,
|
.aarch64 => true,
|
||||||
|
.aarch64_be => false, // Fails due to LLVM issues.
|
||||||
.x86_64 => std.Target.x86.featureSetHas(builtin.cpu.features, .cx16),
|
.x86_64 => std.Target.x86.featureSetHas(builtin.cpu.features, .cx16),
|
||||||
else => false,
|
else => false,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user