wasm-micro-runtime/core/iwasm/interpreter
Wenyong Huang adaaf348ed
Refine opcode br_table for classic interpreter (#1112)
Refine opcode br_table for classic interpreter as there may be a lot of
leb128 decoding when the br count is big:
1. Use the bytecode itself to store the decoded leb br depths if each
    decoded depth can be stored with one byte
2. Create br_table cache to store the decode leb br depths if the decoded
    depth cannot be stored with one byte
After the optimization, the class interpreter can access the br depths array
with index, no need to decode the leb128 again.

And fix function record_fast_op() return value unchecked issue in source
debugging feature.
2022-04-23 19:15:55 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_interp_fast.c Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_interp.h Fix issues found by GC and Fast JIT, refine some codes (#1055) 2022-03-24 14:14:42 +08:00
wasm_loader.c Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_loader.h Fix wasm_runtime_load argument type invalid issue (#1059) 2022-03-24 10:08:49 +08:00
wasm_mini_loader.c Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_opcode.h Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00
wasm_runtime.c wasm_runtime.c: Fix fault modification on data segment (#1116) 2022-04-23 17:38:11 +08:00
wasm_runtime.h Fix wasm_runtime_load argument type invalid issue (#1059) 2022-03-24 10:08:49 +08:00
wasm.h Refine opcode br_table for classic interpreter (#1112) 2022-04-23 19:15:55 +08:00