File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -337,3 +337,12 @@ macro_rules! apfloat_fallback {
337337 $apfloat_op( $( $arg) ,+)
338338 } } ;
339339}
340+
341+ // FIXME(f16_f128): MSVC is unable to link the mul and div symbols required for this test.
342+ // `__multf3` is now available in nightly, but `__divtf3` is not yet. Provide a fallback until
343+ // that happens.
344+ #[ no_mangle]
345+ // #[cfg(target_env = "msvc")]
346+ pub extern "C" fn __divtf3 ( a : f128 , b : f128 ) -> f128 {
347+ compiler_builtins:: float:: div:: __divtf3 ( a, b)
348+ }
Original file line number Diff line number Diff line change @@ -68,11 +68,3 @@ pow! {
6868pow ! {
6969 f128, 1e-36 , __powikf2, not( feature = "no-sys-f128" ) ;
7070}
71-
72- // FIXME(f16_f128): MSVC is unable to link the mul and div symbols required for this test.
73-
74- #[ no_mangle]
75- #[ cfg( target_env = "msvc" ) ]
76- pub extern "C" fn __divtf3 ( a : f128 , b : f128 ) -> f128 {
77- compiler_builtins:: float:: div:: __divtf3 ( a, b)
78- }
You can’t perform that action at this time.
0 commit comments