From dbcbec363d407df6f35a270aefac9cc3204835d4 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 17 Jan 2024 14:44:27 +0800 Subject: [PATCH] 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 --- 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