Merge pull request #21269 from alexrp/soft-float

Fix soft float support, split musl triples by float ABI, and enable CI
This commit is contained in:
Andrew Kelley
2024-09-11 17:41:55 -07:00
committed by GitHub
13 changed files with 251 additions and 43 deletions
+8 -5
View File
@@ -1409,7 +1409,14 @@ test "store vector with memset" {
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_llvm) {
// LLVM 16 ERROR: "Converting bits to bytes lost precision"
// https://github.com/ziglang/zig/issues/16177
switch (builtin.target.cpu.arch) {
.arm,
.armeb,
.thumb,
.thumbeb,
=> if (builtin.target.floatAbi() == .soft) return error.SkipZigTest,
.wasm32,
.mips,
.mipsel,
@@ -1418,11 +1425,7 @@ test "store vector with memset" {
.riscv64,
.powerpc,
.powerpc64,
=> {
// LLVM 16 ERROR: "Converting bits to bytes lost precision"
// https://github.com/ziglang/zig/issues/16177
return error.SkipZigTest;
},
=> return error.SkipZigTest,
else => {},
}
}