@@ -85,6 +85,7 @@ builtin_functions! {
85
85
fn __divtf3( a: f128, b: f128) -> f128;
86
86
fn fmodf( a: f32 , b: f32 ) -> f32 ;
87
87
fn fmod( a: f64 , b: f64 ) -> f64 ;
88
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
88
89
fn fmodf128( a: f128, b: f128) -> f128;
89
90
// float comparison
90
91
fn __eqtf2( a: f128, b: f128) -> i32 ;
@@ -93,7 +94,9 @@ builtin_functions! {
93
94
fn __letf2( a: f128, b: f128) -> i32 ;
94
95
fn __gttf2( a: f128, b: f128) -> i32 ;
95
96
fn __getf2( a: f128, b: f128) -> i32 ;
97
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
96
98
fn fminimumf128( a: f128, b: f128) -> f128;
99
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
97
100
fn fmaximumf128( a: f128, b: f128) -> f128;
98
101
// Cranelift float libcalls
99
102
fn fmaf( a: f32 , b: f32 , c: f32 ) -> f32 ;
@@ -127,16 +130,27 @@ builtin_functions! {
127
130
fn sin( f: f64 ) -> f64 ;
128
131
fn cosf( f: f32 ) -> f32 ;
129
132
fn cos( f: f64 ) -> f64 ;
133
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
130
134
fn fmaf128( a: f128, b: f128, c: f128) -> f128;
135
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
131
136
fn floorf16( f: f16) -> f16;
137
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
132
138
fn floorf128( f: f128) -> f128;
139
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
133
140
fn ceilf16( f: f16) -> f16;
141
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
134
142
fn ceilf128( f: f128) -> f128;
143
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
135
144
fn truncf16( f: f16) -> f16;
145
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
136
146
fn truncf128( f: f128) -> f128;
147
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
137
148
fn rintf16( f: f16) -> f16;
149
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
138
150
fn rintf128( f: f128) -> f128;
151
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
139
152
fn sqrtf16( f: f16) -> f16;
153
+ #[ cfg( not( all( target_os = "windows" , target_env = "gnu" ) ) ) ]
140
154
fn sqrtf128( f: f128) -> f128;
141
155
// FIXME(f16_f128): Add other float intrinsics as compiler-builtins gains support (meaning they
142
156
// are available on all targets).
0 commit comments