File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 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) {
1616 return __extendXfYf2__ (a );
1717}
1818
19- COMPILER_RT_ABI float __gnu_h2f_ieee (src_t a ) { return __extendhfsf2 (a ); }
20-
2119#if defined(__ARM_EABI__ )
2220#if defined(COMPILER_RT_ARMHF_TARGET )
21+ AEABI_RTABI float __gnu_h2f_ieee (src_t a ) { return __extendhfsf2 (a ); }
2322AEABI_RTABI float __aeabi_h2f (src_t a ) { return __extendhfsf2 (a ); }
2423#else
24+ COMPILER_RT_ALIAS (__extendhfsf2 , __gnu_h2f_ieee )
2525COMPILER_RT_ALIAS (__extendhfsf2 , __aeabi_h2f )
2626#endif
27+ #else
28+ COMPILER_RT_ABI float __gnu_h2f_ieee (src_t a ) { return __extendhfsf2 (a ); }
2729#endif
Original file line number Diff line number Diff line change @@ -16,12 +16,14 @@ COMPILER_RT_ABI NOINLINE dst_t __truncsfhf2(float a) {
1616 return __truncXfYf2__ (a );
1717}
1818
19- COMPILER_RT_ABI dst_t __gnu_f2h_ieee (float a ) { return __truncsfhf2 (a ); }
20-
2119#if defined(__ARM_EABI__ )
2220#if defined(COMPILER_RT_ARMHF_TARGET )
21+ AEABI_RTABI dst_t __gnu_f2h_ieee (float a ) { return __truncsfhf2 (a ); }
2322AEABI_RTABI dst_t __aeabi_f2h (float a ) { return __truncsfhf2 (a ); }
2423#else
24+ COMPILER_RT_ALIAS (__truncsfhf2 , __gnu_f2h_ieee )
2525COMPILER_RT_ALIAS (__truncsfhf2 , __aeabi_f2h )
2626#endif
27+ #else
28+ COMPILER_RT_ABI dst_t __gnu_f2h_ieee (float a ) { return __truncsfhf2 (a ); }
2729#endif
You can’t perform that action at this time.
0 commit comments