wasm-micro-runtime/core/iwasm
YAMAMOTO Takashi 5931aaacbe
aot compiler: Place precheck wrapper before the corresponding wrapped function (#3141)
This increases the chance to use "short" calls.

Assumptions:
- LLVM preserves the order of functions in a module
- The wrapper function are smaller than the wrapped functions
- The target CPU has "short" PC-relative variation of call/jmp instructions
  and they are preferrable over the "long" ones.

A motivation:
- To avoid some relocations for XIP, I want to use xtensa PC-relative
  call instructions, which can only reach ~512KB.
2024-02-06 15:05:32 +08:00
..
aot Use logger for runtime error/debug prints (#3097) 2024-02-06 13:02:54 +08:00
common Use logger for runtime error/debug prints (#3097) 2024-02-06 13:02:54 +08:00
compilation aot compiler: Place precheck wrapper before the corresponding wrapped function (#3141) 2024-02-06 15:05:32 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Use logger for runtime error/debug prints (#3097) 2024-02-06 13:02:54 +08:00
include wasm_runtime_begin_blocking_op: A comment about usage expectation (#3056) 2024-01-19 18:31:21 +08:00
interpreter Use logger for runtime error/debug prints (#3097) 2024-02-06 13:02:54 +08:00
libraries Use logger for runtime error/debug prints (#3097) 2024-02-06 13:02:54 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00