Skip to content

Commit 101ba13

Browse files
tgross35Amanieu
authored andcommitted
Enable f128 -> f16 tests on Linux
Since updating the docker images in <#625>, it looks like `__extendhftf2` and `__trunctfhf2` are available on all 64-bit Linux platforms.
1 parent 93356a2 commit 101ba13

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

testcrate/build.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ fn main() {
3838
}
3939

4040
if target.starts_with("i586") || target.starts_with("i686") {
41-
// 32-bit x86 seems to not have `__fixunstfti`, but does have everything else
41+
// 32-bit x86 does not have `__fixunstfti`/`__fixtfti` but does have everything else
4242
features.insert(Feature::NoSysF128IntConvert);
43-
}
44-
45-
if target.contains("-unknown-linux-") {
46-
// No `__extendhftf2` on x86, no `__trunctfhf2` on aarch64
43+
// FIXME: 32-bit x86 has a bug in `f128 -> f16` system libraries
4744
features.insert(Feature::NoSysF16F128Convert);
4845
}
4946

0 commit comments

Comments
 (0)