Skip to content

Commit

Permalink
Add missing extendhfxf2 in compiler rt
Browse files Browse the repository at this point in the history
  • Loading branch information
biabbas committed Sep 18, 2024
1 parent 30eb193 commit 34a8124
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler-rt/lib/builtins/extendhfsf2.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ COMPILER_RT_ABI NOINLINE float __extendhfsf2(src_t a) {
return __extendXfYf2__(a);
}

COMPILER_RT_ABI NOINLINE long double __extendhfxf2(src_t a) {
return (long double)__extendXfYf2__(a);
}

COMPILER_RT_ABI float __gnu_h2f_ieee(src_t a) { return __extendhfsf2(a); }

#if defined(__ARM_EABI__)
Expand Down

0 comments on commit 34a8124

Please sign in to comment.