| ... | @@ -187,7 +187,8 @@ extern fn c_cmultd(a: ComplexDouble, b: ComplexDouble) ComplexDouble; | ... | @@ -187,7 +187,8 @@ extern fn c_cmultd(a: ComplexDouble, b: ComplexDouble) ComplexDouble; |
| 187 | const complex_abi_compatible = builtin.cpu.arch != .x86 and !builtin.cpu.arch.isMIPS() and | 187 | const complex_abi_compatible = builtin.cpu.arch != .x86 and !builtin.cpu.arch.isMIPS() and |
| 188 | !builtin.cpu.arch.isArm() and !builtin.cpu.arch.isPowerPC32() and !builtin.cpu.arch.isRISCV() and | 188 | !builtin.cpu.arch.isArm() and !builtin.cpu.arch.isPowerPC32() and !builtin.cpu.arch.isRISCV() and |
| 189 | builtin.cpu.arch != .hexagon and | 189 | builtin.cpu.arch != .hexagon and |
| 190 | builtin.cpu.arch != .s390x; | 190 | builtin.cpu.arch != .s390x and |
| | 191 | !(builtin.cpu.arch.isLoongArch() and builtin.abi.float() == .soft); |
| 191 | | 192 | |
| 192 | test "C ABI complex float" { | 193 | test "C ABI complex float" { |
| 193 | if (!complex_abi_compatible) return error.SkipZigTest; | 194 | if (!complex_abi_compatible) return error.SkipZigTest; |
| ... | @@ -5611,6 +5612,7 @@ test "C ABI pointer sized float struct" { | ... | @@ -5611,6 +5612,7 @@ test "C ABI pointer sized float struct" { |
| 5611 | if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; | 5612 | if (builtin.cpu.arch.isMIPS64()) return error.SkipZigTest; |
| 5612 | if (builtin.cpu.arch.isPowerPC32()) return error.SkipZigTest; | 5613 | if (builtin.cpu.arch.isPowerPC32()) return error.SkipZigTest; |
| 5613 | if (builtin.cpu.arch.isArm() and builtin.abi.float() == .soft) return error.SkipZigTest; | 5614 | if (builtin.cpu.arch.isArm() and builtin.abi.float() == .soft) return error.SkipZigTest; |
| | 5615 | if (builtin.cpu.arch.isLoongArch() and builtin.abi.float() == .soft) return error.SkipZigTest; |
| 5614 | if (builtin.cpu.arch == .s390x) return error.SkipZigTest; | 5616 | if (builtin.cpu.arch == .s390x) return error.SkipZigTest; |
| 5615 | | 5617 | |
| 5616 | c_ptr_size_float_struct(.{ .x = 1, .y = 2 }); | 5618 | c_ptr_size_float_struct(.{ .x = 1, .y = 2 }); |