Commit 70c92331c7
Changed files (1)
src
codegen
src/codegen/llvm.zig
@@ -12423,6 +12423,11 @@ fn backendSupportsF16(target: std.Target) bool {
.mips64el,
.s390x,
=> false,
+ .arm,
+ .armeb,
+ .thumb,
+ .thumbeb,
+ => target.floatAbi() == .soft or std.Target.arm.featureSetHas(target.cpu.features, .fp_armv8),
.aarch64,
.aarch64_be,
=> std.Target.aarch64.featureSetHas(target.cpu.features, .fp_armv8),
@@ -12445,6 +12450,11 @@ fn backendSupportsF128(target: std.Target) bool {
.powerpc64,
.powerpc64le,
=> target.os.tag != .aix,
+ .arm,
+ .armeb,
+ .thumb,
+ .thumbeb,
+ => target.floatAbi() == .soft or std.Target.arm.featureSetHas(target.cpu.features, .fp_armv8),
.aarch64,
.aarch64_be,
=> std.Target.aarch64.featureSetHas(target.cpu.features, .fp_armv8),