Skip to content

Commit

Permalink
wamr: Add new option to enable quick aot entry
Browse files Browse the repository at this point in the history
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 <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi authored and xiaoxiang781216 committed Jan 19, 2024
1 parent 70108ae commit dbcbec3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions interpreters/wamr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ config INTERPRETERS_WAMR_AOT
select ARCH_USE_TEXT_HEAP if ARCH_HAVE_TEXT_HEAP
default n

config INTERPRETERS_WAMR_AOT_QUICK_ENTRY
bool "Enable AOT quick entry"
default n
depends on INTERPRETERS_WAMR_AOT
---help---
Note: This option only works with WAMR 1.3.1 or later.
Enable AOT quick entry to improve performance for call
AOTed function from host side in some cases with simple
signature.
Enable this option will increase the size of runtime, ~8KB.

choice
prompt "Enable interpreter"
default INTERPRETERS_NONE
Expand Down

0 comments on commit dbcbec3

Please sign in to comment.