This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/aot
Wenyong Huang 25fc006c33
Refine call native function from AOT code (#1015)
When calling native function from AOT code, current implementation is to return
back to runtime to call aot_invoke_native, which calls wasm_runtime_invoke_native
and the latter calls assembly code. We did it before as there may be pointer and
string arguments to check and convert if the native function's registered signature
has character '*' and '$'.
As the built-in native function's signatures can be gotten in compilation time, we
check the pointer/string arguments and convert them into native address in AOT
code, and then invoke the native function directly, so as to improve performance.
2022-02-23 14:58:32 +08:00
..
arch ESP IDF fixes (#927) 2022-01-05 12:50:17 +08:00
debug Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
aot_intrinsic.c Don't use constant float table on arm and riscv (#903) 2021-12-20 11:10:52 +08:00
aot_intrinsic.h Don't use constant float table on arm and riscv (#903) 2021-12-20 11:10:52 +08:00
aot_loader.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
aot_reloc.h Refine call native function from AOT code (#1015) 2022-02-23 14:58:32 +08:00
aot_runtime.c Refine call native function from AOT code (#1015) 2022-02-23 14:58:32 +08:00
aot_runtime.h Refine call native function from AOT code (#1015) 2022-02-23 14:58:32 +08:00
iwasm_aot.cmake Implement source debugging for interpreter and AOT (#769) 2021-09-29 13:36:46 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00