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 <[email protected]>
  • Loading branch information
no1wudi committed Jan 17, 2024
1 parent e4e43a1 commit 048b7d8
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 048b7d8

Please sign in to comment.