Skip to content

Commit b5f8a2b

Browse files
authored
Add missing soft float intrinsics for risc-v AOT (#1845)
1 parent 26728cb commit b5f8a2b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

core/iwasm/aot/arch/aot_reloc_riscv.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ void __adddf3();
2020
void __addsf3();
2121
void __divdi3();
2222
void __divsi3();
23+
void __divdf3();
2324
void __divsf3();
2425
void __eqsf2();
2526
void __eqdf2();
@@ -42,9 +43,12 @@ void __floatunsisf();
4243
void __floatunsidf();
4344
void __gedf2();
4445
void __gesf2();
46+
void __gtdf2();
4547
void __gtsf2();
4648
void __ledf2();
4749
void __lesf2();
50+
void __ltdf2();
51+
void __ltsf2();
4852
void __moddi3();
4953
void __modsi3();
5054
void __muldf3();
@@ -70,12 +74,16 @@ static SymbolMap target_sym_map[] = {
7074
#ifndef __riscv_flen
7175
REG_SYM(__adddf3),
7276
REG_SYM(__addsf3),
77+
REG_SYM(__divdf3),
7378
REG_SYM(__divsf3),
7479
REG_SYM(__gedf2),
7580
REG_SYM(__gesf2),
81+
REG_SYM(__gtdf2),
7682
REG_SYM(__gtsf2),
7783
REG_SYM(__ledf2),
7884
REG_SYM(__lesf2),
85+
REG_SYM(__ltdf2),
86+
REG_SYM(__ltsf2),
7987
REG_SYM(__muldf3),
8088
REG_SYM(__nedf2),
8189
REG_SYM(__nesf2),

0 commit comments

Comments
 (0)