File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -133,16 +133,17 @@ fn main() {
133
133
_ => false ,
134
134
} ;
135
135
136
+ // These are currently empty, but will fill up as some platforms move from completely
137
+ // unreliable to reliable basics but unreliable math.
138
+
136
139
// LLVM is currenlty adding missing routines, <https://github.com/llvm/llvm-project/issues/93566>
137
140
let has_reliable_f16_math = has_reliable_f16
138
141
&& match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
139
- ( "x86" , _) => false ,
140
142
_ => true ,
141
143
} ;
142
144
143
145
let has_reliable_f128_math = has_reliable_f128
144
146
&& match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
145
- // ("aarch64", _) => false,
146
147
_ => true ,
147
148
} ;
148
149
Original file line number Diff line number Diff line change @@ -423,13 +423,11 @@ fn test_recip() {
423
423
424
424
#[ test]
425
425
fn test_powi ( ) {
426
- // FIXME(f16_f128 ): LLVM misoptimizes `powi.f16`
426
+ // FIXME(llvm19 ): LLVM misoptimizes `powi.f16`
427
427
// <https://github.com/llvm/llvm-project/issues/98665>
428
428
// let nan: f16 = f16::NAN;
429
429
// let inf: f16 = f16::INFINITY;
430
430
// let neg_inf: f16 = f16::NEG_INFINITY;
431
- // dbg!(1.0f16);
432
- // dbg!(1.0f16.powi(1));
433
431
// assert_eq!(1.0f16.powi(1), 1.0);
434
432
// assert_approx_eq!((-3.1f16).powi(2), 9.61, TOL_0);
435
433
// assert_approx_eq!(5.9f16.powi(-2), 0.028727, TOL_N2);
You can’t perform that action at this time.
0 commit comments