@@ -12440,29 +12440,30 @@ fn backendSupportsF80(target: std.Target) bool {
12440
12440
/// or if it produces miscompilations.
12441
12441
fn backendSupportsF16(target: std.Target) bool {
12442
12442
return switch (target.cpu.arch) {
12443
- // LoongArch can be removed from this list with LLVM 20.
12444
- .loongarch32 ,
12445
- .loongarch64,
12443
+ // https://github.com/llvm/llvm-project/issues/97981
12444
+ .csky ,
12445
+ // https://github.com/llvm/llvm-project/issues/97981
12446
12446
.hexagon,
12447
+ // https://github.com/llvm/llvm-project/issues/97981
12447
12448
.powerpc,
12448
12449
.powerpcle,
12449
12450
.powerpc64,
12450
12451
.powerpc64le,
12452
+ // https://github.com/llvm/llvm-project/issues/97981
12451
12453
.wasm32,
12452
12454
.wasm64,
12453
- .mips,
12454
- .mipsel,
12455
- .mips64,
12456
- .mips64el,
12455
+ // https://github.com/llvm/llvm-project/issues/50374
12457
12456
.s390x,
12457
+ // https://github.com/llvm/llvm-project/issues/97981
12458
12458
.sparc,
12459
12459
.sparc64,
12460
12460
=> false,
12461
12461
.arm,
12462
12462
.armeb,
12463
12463
.thumb,
12464
12464
.thumbeb,
12465
- => target.abi.float() == .soft or std.Target.arm.featureSetHas(target.cpu.features, .fp_armv8),
12465
+ => target.abi.float() == .soft or std.Target.arm.featureSetHas(target.cpu.features, .fullfp16),
12466
+ // https://github.com/llvm/llvm-project/issues/129394
12466
12467
.aarch64,
12467
12468
.aarch64_be,
12468
12469
=> std.Target.aarch64.featureSetHas(target.cpu.features, .fp_armv8),
@@ -12475,11 +12476,18 @@ fn backendSupportsF16(target: std.Target) bool {
12475
12476
/// or if it produces miscompilations.
12476
12477
fn backendSupportsF128(target: std.Target) bool {
12477
12478
return switch (target.cpu.arch) {
12479
+ // https://github.com/llvm/llvm-project/issues/121122
12478
12480
.amdgcn,
12481
+ // Test failures all over the place.
12479
12482
.mips64,
12480
12483
.mips64el,
12484
+ // https://github.com/llvm/llvm-project/issues/95471
12485
+ .nvptx,
12486
+ .nvptx64,
12487
+ // https://github.com/llvm/llvm-project/issues/41838
12481
12488
.sparc,
12482
12489
=> false,
12490
+ // https://github.com/llvm/llvm-project/issues/101545
12483
12491
.powerpc,
12484
12492
.powerpcle,
12485
12493
.powerpc64,
@@ -12490,9 +12498,6 @@ fn backendSupportsF128(target: std.Target) bool {
12490
12498
.thumb,
12491
12499
.thumbeb,
12492
12500
=> target.abi.float() == .soft or std.Target.arm.featureSetHas(target.cpu.features, .fp_armv8),
12493
- .aarch64,
12494
- .aarch64_be,
12495
- => std.Target.aarch64.featureSetHas(target.cpu.features, .fp_armv8),
12496
12501
else => true,
12497
12502
};
12498
12503
}
0 commit comments