Skip to content

Commit dbcbec3

Browse files
no1wudixiaoxiang781216
authored andcommitted
wamr: Add new option to enable quick aot entry
Enable AOT quick entry to improve performance for call AOTed function from host side in some cases with simple signature. Signed-off-by: Huang Qi <[email protected]>
1 parent 70108ae commit dbcbec3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

interpreters/wamr/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ config INTERPRETERS_WAMR_AOT
3636
select ARCH_USE_TEXT_HEAP if ARCH_HAVE_TEXT_HEAP
3737
default n
3838

39+
config INTERPRETERS_WAMR_AOT_QUICK_ENTRY
40+
bool "Enable AOT quick entry"
41+
default n
42+
depends on INTERPRETERS_WAMR_AOT
43+
---help---
44+
Note: This option only works with WAMR 1.3.1 or later.
45+
Enable AOT quick entry to improve performance for call
46+
AOTed function from host side in some cases with simple
47+
signature.
48+
Enable this option will increase the size of runtime, ~8KB.
49+
3950
choice
4051
prompt "Enable interpreter"
4152
default INTERPRETERS_NONE

0 commit comments

Comments
 (0)