wasm-micro-runtime/build-scripts
Wenyong Huang 7c7684819d
Register quick call entries to speedup the aot/jit func call process (#2978)
In some scenarios there may be lots of callings to AOT/JIT functions from the
host embedder, which expects good performance for the calling process, while
in the current implementation, runtime calls the wasm_runtime_invoke_native
to prepare the array of registers and stacks for the invokeNative assemble code,
and the latter then puts the elements in the array to physical registers and
native stacks and calls the AOT/JIT function, there may be many data copying
and handlings which impact the performance.

This PR registers some quick AOT/JIT entries for some simple wasm signatures,
and let runtime call the entry to directly invoke the AOT/JIT function instead of
calling wasm_runtime_invoke_native, which speedups the calling process.

We may extend the mechanism next to allow the developer to register his quick
AOT/JIT entries to speedup the calling process of invoking the AOT/JIT functions
for some specific signatures.
2024-01-10 16:44:09 +08:00
..
esp-idf Enable platform support for esp-idf v5.0.1 (#2050) 2023-03-23 17:29:57 +08:00
build_llvm.py Fix build llvm on macos (#2877) 2023-12-07 11:09:36 +08:00
config_common.cmake Register quick call entries to speedup the aot/jit func call process (#2978) 2024-01-10 16:44:09 +08:00
involve_boringssl.cmake Use boringssl instead of openssl to implement wasm cache loading (#1804) 2022-12-20 14:37:07 +08:00
lldb_wasm.patch Fix issues in releasing wamr-lldb (#2497) 2023-08-23 12:56:11 +08:00
requirements.txt Bump requests from 2.28.2 to 2.31.0 in /build-scripts (#2229) 2023-05-24 08:52:45 +08:00
runtime_lib.cmake Enable MASM automatically in runtime_lib.cmake (#2634) 2023-10-12 20:42:25 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
SConscript_config Add control for the native stack check with hardware trap (#1682) 2022-11-07 18:26:33 +08:00