This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new dbcbec363 wamr: Add new option to enable quick aot entry
dbcbec363 is described below

commit dbcbec363d407df6f35a270aefac9cc3204835d4
Author: Huang Qi <huang...@xiaomi.com>
AuthorDate: Wed Jan 17 14:44:27 2024 +0800

    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 <huang...@xiaomi.com>
---
 interpreters/wamr/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig
index acf71c7a2..fa4fc8080 100644
--- a/interpreters/wamr/Kconfig
+++ b/interpreters/wamr/Kconfig
@@ -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

Reply via email to