File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ COMPILER_RT_ABI NOINLINE float __extendhfsf2(src_t a) {
16
16
return __extendXfYf2__ (a );
17
17
}
18
18
19
- COMPILER_RT_ABI float __gnu_h2f_ieee (src_t a ) { return __extendhfsf2 (a ); }
20
-
21
19
#if defined(__ARM_EABI__ )
22
20
#if defined(COMPILER_RT_ARMHF_TARGET )
21
+ AEABI_RTABI float __gnu_h2f_ieee (src_t a ) { return __extendhfsf2 (a ); }
23
22
AEABI_RTABI float __aeabi_h2f (src_t a ) { return __extendhfsf2 (a ); }
24
23
#else
24
+ COMPILER_RT_ALIAS (__extendhfsf2 , __gnu_h2f_ieee )
25
25
COMPILER_RT_ALIAS (__extendhfsf2 , __aeabi_h2f )
26
26
#endif
27
+ #else
28
+ COMPILER_RT_ABI float __gnu_h2f_ieee (src_t a ) { return __extendhfsf2 (a ); }
27
29
#endif
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ COMPILER_RT_ABI NOINLINE dst_t __truncsfhf2(float a) {
16
16
return __truncXfYf2__ (a );
17
17
}
18
18
19
- COMPILER_RT_ABI dst_t __gnu_f2h_ieee (float a ) { return __truncsfhf2 (a ); }
20
-
21
19
#if defined(__ARM_EABI__ )
22
20
#if defined(COMPILER_RT_ARMHF_TARGET )
21
+ AEABI_RTABI dst_t __gnu_f2h_ieee (float a ) { return __truncsfhf2 (a ); }
23
22
AEABI_RTABI dst_t __aeabi_f2h (float a ) { return __truncsfhf2 (a ); }
24
23
#else
24
+ COMPILER_RT_ALIAS (__truncsfhf2 , __gnu_f2h_ieee )
25
25
COMPILER_RT_ALIAS (__truncsfhf2 , __aeabi_f2h )
26
26
#endif
27
+ #else
28
+ COMPILER_RT_ABI dst_t __gnu_f2h_ieee (float a ) { return __truncsfhf2 (a ); }
27
29
#endif
You can’t perform that action at this time.
0 commit comments