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/compilation
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
..
debug Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
simd Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_compiler.c Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
aot_compiler.h Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
aot_emit_aot_file.c Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
aot_emit_compare.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_compare.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_const.c Don't use constant float table on arm and riscv (#903) 2021-12-20 11:10:52 +08:00
aot_emit_const.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_control.c Clear more compile warnings reported by -Wshadow flag (#899) 2021-12-16 14:47:44 +08:00
aot_emit_control.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_conversion.c xip: Lookup float constants from table to reduce relocations (#894) 2021-12-16 21:39:23 +08:00
aot_emit_conversion.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_exception.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
aot_emit_exception.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_function.c Refine call native function from AOT code (#1015) 2022-02-23 14:58:32 +08:00
aot_emit_function.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_memory.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
aot_emit_memory.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_numberic.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_numberic.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_parametric.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_parametric.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_table.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_table.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_variable.c Clear more compile warnings reported by -Wshadow flag (#899) 2021-12-16 14:47:44 +08:00
aot_emit_variable.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_llvm_extra.cpp Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
aot_llvm.c Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
aot_llvm.h Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
aot.c Enable emitting custom name section to aot file (#794) 2021-10-26 16:32:52 +08:00
aot.h Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
iwasm_compl.cmake Implement atomic and memset/memmove/memcpy intrinsic for riscv (#841) 2021-11-30 17:10:14 +08:00