@@ -92,12 +92,12 @@ intrinsics! {
92
92
f64 :: from_bits( int_to_float:: u64_to_f64_bits( i) )
93
93
}
94
94
95
- #[ cfg_attr( not( target_feature = "llvm14-builtins-abi" ) , unadjusted_on_win64) ]
95
+ #[ cfg_attr( any ( not( target_feature = "llvm14-builtins-abi" ) , target_os = "uefi ") , unadjusted_on_win64) ]
96
96
pub extern "C" fn __floatuntisf( i: u128 ) -> f32 {
97
97
f32 :: from_bits( int_to_float:: u128_to_f32_bits( i) )
98
98
}
99
99
100
- #[ cfg_attr( not( target_feature = "llvm14-builtins-abi" ) , unadjusted_on_win64) ]
100
+ #[ cfg_attr( any ( not( target_feature = "llvm14-builtins-abi" ) , target_os = "uefi ") , unadjusted_on_win64) ]
101
101
pub extern "C" fn __floatuntidf( i: u128 ) -> f64 {
102
102
f64 :: from_bits( int_to_float:: u128_to_f64_bits( i) )
103
103
}
@@ -129,13 +129,13 @@ intrinsics! {
129
129
f64 :: from_bits( int_to_float:: u64_to_f64_bits( i. unsigned_abs( ) ) | sign_bit)
130
130
}
131
131
132
- #[ cfg_attr( not( target_feature = "llvm14-builtins-abi" ) , unadjusted_on_win64) ]
132
+ #[ cfg_attr( any ( not( target_feature = "llvm14-builtins-abi" ) , target_os = "uefi ") , unadjusted_on_win64) ]
133
133
pub extern "C" fn __floattisf( i: i128 ) -> f32 {
134
134
let sign_bit = ( ( i >> 127 ) as u32 ) << 31 ;
135
135
f32 :: from_bits( int_to_float:: u128_to_f32_bits( i. unsigned_abs( ) ) | sign_bit)
136
136
}
137
137
138
- #[ cfg_attr( not( target_feature = "llvm14-builtins-abi" ) , unadjusted_on_win64) ]
138
+ #[ cfg_attr( any ( not( target_feature = "llvm14-builtins-abi" ) , target_os = "uefi ") , unadjusted_on_win64) ]
139
139
pub extern "C" fn __floattidf( i: i128 ) -> f64 {
140
140
let sign_bit = ( ( i >> 127 ) as u64 ) << 63 ;
141
141
f64 :: from_bits( int_to_float:: u128_to_f64_bits( i. unsigned_abs( ) ) | sign_bit)
0 commit comments