@@ -92,12 +92,12 @@ intrinsics! {
9292 f64 :: from_bits( int_to_float:: u64_to_f64_bits( i) )
9393 }
9494
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) ]
9696 pub extern "C" fn __floatuntisf( i: u128 ) -> f32 {
9797 f32 :: from_bits( int_to_float:: u128_to_f32_bits( i) )
9898 }
9999
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) ]
101101 pub extern "C" fn __floatuntidf( i: u128 ) -> f64 {
102102 f64 :: from_bits( int_to_float:: u128_to_f64_bits( i) )
103103 }
@@ -129,13 +129,13 @@ intrinsics! {
129129 f64 :: from_bits( int_to_float:: u64_to_f64_bits( i. unsigned_abs( ) ) | sign_bit)
130130 }
131131
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) ]
133133 pub extern "C" fn __floattisf( i: i128 ) -> f32 {
134134 let sign_bit = ( ( i >> 127 ) as u32 ) << 31 ;
135135 f32 :: from_bits( int_to_float:: u128_to_f32_bits( i. unsigned_abs( ) ) | sign_bit)
136136 }
137137
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) ]
139139 pub extern "C" fn __floattidf( i: i128 ) -> f64 {
140140 let sign_bit = ( ( i >> 127 ) as u64 ) << 63 ;
141141 f64 :: from_bits( int_to_float:: u128_to_f64_bits( i. unsigned_abs( ) ) | sign_bit)
0 commit comments