Skip to content

Commit 34a8124

Browse files
committed
Add missing extendhfxf2 in compiler rt
1 parent 30eb193 commit 34a8124

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compiler-rt/lib/builtins/extendhfsf2.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ COMPILER_RT_ABI NOINLINE float __extendhfsf2(src_t a) {
1616
return __extendXfYf2__(a);
1717
}
1818

19+
COMPILER_RT_ABI NOINLINE long double __extendhfxf2(src_t a) {
20+
return (long double)__extendXfYf2__(a);
21+
}
22+
1923
COMPILER_RT_ABI float __gnu_h2f_ieee(src_t a) { return __extendhfsf2(a); }
2024

2125
#if defined(__ARM_EABI__)

0 commit comments

Comments
 (0)