File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -139,11 +139,18 @@ fn main() {
139
139
// LLVM is currenlty adding missing routines, <https://github.com/llvm/llvm-project/issues/93566>
140
140
let has_reliable_f16_math = has_reliable_f16
141
141
&& match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
142
+ // Currently nothing special. Hooray!
143
+ // This will change as platforms gain better better support for standard ops but math
144
+ // lags behind.
142
145
_ => true ,
143
146
} ;
144
147
145
148
let has_reliable_f128_math = has_reliable_f128
146
149
&& match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
150
+ // LLVM lowers `fp128` math to `long double` symbols even on platforms where
151
+ // `long double` is not IEEE binary128. See
152
+ // <https://github.com/llvm/llvm-project/issues/44744>.
153
+ ( "x86_64" , _) => false ,
147
154
_ => true ,
148
155
} ;
149
156
You can’t perform that action at this time.
0 commit comments