Jonathan and GitHub
79afa493aa
Fix windows aot loader fail to resolve symbol issue ( #540 )
2021-02-23 20:55:50 +08:00
fc50404115
add uvwasi implementation to support wasi on windows [experimental] ( #534 )
...
add uvwasi implementation to support wasi on windows [experimental] and update windows.yml
Co-authored-by: Wenyong Huang <wenyong.huang@intel.com >
2021-02-22 14:17:46 +08:00
Wang Ning and GitHub
da8c879953
Implement riscv support for interpreter ( #505 )
2021-01-25 18:41:48 +08:00
alvkeke and GitHub
794028a968
1. fix error while building project with RT-Thread Studio. ( #497 )
...
2. add macro to enable/disable export native method of rt-thread.
2021-01-14 18:47:52 +08:00
alvkeke and GitHub
8ec03a5165
add porting codes of rt-thread ( #494 )
2021-01-14 11:26:35 +08:00
Wenyong Huang and GitHub
724858c731
Update wasm app build scripts for wasi-sdk-12 and refine interpreter ( #481 )
...
Update wasm app build scripts for wasi-sdk-12.0: add --export=__main_argc_argv, remove --no-threads
Lookup function with name "__main_argc_argv" as main function besides "main"
Change module_malloc to runtime_malloc in wasi native lib
Refine classic interpreter op_block and op_br_table
Refine faster interpreter op_br_table
Signed-off-by: Wenyong Huang <wenyong.huang@intel.com >
2020-12-28 10:46:31 +08:00
13f0b2485b
Update darwin CMakeLists.txt to support Apple Silicon on macOS ( #480 )
...
Without this change in a corresponding `CMakeLists.txt` it attempts to build `invokeNative` assembly for `X86_64` on Macs with Apple Silicon.
Co-authored-by: Wenyong Huang <wenyong.huang@intel.com >
2020-12-27 12:16:46 +08:00
Wenyong Huang and GitHub
adb05ea719
Enable SIMD support for Linux SGX platform ( #474 )
2020-12-21 15:17:36 +08:00
619c2b383c
product-mini/nuttx: Use readline for repl mode ( #469 )
...
The EOL of NuttX is configurable (CR/LF/CRLF), the implementation
of getline in NuttX need CR or LF as line delimiter(CRLF not supported).
Then we should use readline for better compatibility.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-12-11 19:48:35 +08:00
7f4e519edc
product-mini/nuttx: Add support for repl mode ( #466 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-12-09 16:45:41 +08:00
35acc7f336
platform/NuttX: Add support for lib pthread ( #463 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-12-08 17:44:08 +08:00
b75224ce03
Using posix thread implementation for NuttX ( #462 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-12-07 21:15:41 +08:00
sophy228 and GitHub
c8b0a1cee1
Fix some issues for Arm platform. ( #457 )
...
Motivation:
we found some issues during enable the WAMR on arm devices, such as relocation issues, stack alignment issues.
Proposed change:
We optimized the relocation process for arm platform, for relocation jump table, the SP should be aligned to 16 bytes. And we also make "getentropy" worked for other non-supported platform.
2020-12-02 10:22:55 +08:00
Wenyong Huang and GitHub
282831eba5
Fix some compilation warnings and add esp-idf platform for experiment ( #454 )
...
And fix some code indent issues.
2020-11-30 16:03:51 +08:00
Wenyong Huang and GitHub
0359805c82
Import FreeRTOS platform experiment codes for further development ( #451 )
2020-11-26 19:10:05 +08:00
Jia Zhang and GitHub
a2641e174a
Enhance the readability of WAMR SGX docs ( #442 )
...
The global doc/linux_sgx.md needs to explicitly describe the methods to
build a debug enclave and hardware running mode. Because using debug key
to signing enclave image rather than production key is still not trivial
in reality.
For the adaption of Inclavare Containers part, add a prolog and give
more details in order to enhance the readability.
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com >
2020-11-13 13:11:34 +08:00
8f4a1963fc
Update SGX documents ( #439 )
...
This commit mainly simplifies the description about building a
debug and hw mode enclave.
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com >
Co-authored-by: root <root@rs1g04412.et2sqa >
2020-11-12 20:59:03 +08:00
Wenyong Huang and GitHub
a3074df21b
Import SIMD feature and add some workload samples ( #438 )
2020-11-05 18:15:15 +08:00
YaoLe and GitHub
ed94b7dcc4
Implement Inclavare Containers PAL interface in WAMR Linux-SGX ( #429 )
...
* Implement the PAL interface for rune
Work in progress
Signed-off-by: Le Yao <le.yao@intel.com >
* Support PAL for one runtime with multi-instances
Load runtime into enclave and run multi-instances
Signed-off-by: Le Yao <le.yao@intel.com >
2020-10-29 03:34:34 +00:00
Wang Ning and GitHub
ad4aa9a85f
Update build script to enable running tensorflow workload in linux-sgx ( #435 )
2020-10-29 03:33:49 +00:00
Karl Fessel and GitHub
f1fe5d7872
add RIOT-OS support to WAMR ( #425 )
...
* add RIOT platform
see riot-os.org
* add simple RIOT example
2020-10-16 11:21:53 +08:00
YAMAMOTO Takashi and GitHub
2dd3875fd9
nuttx: Fix build for sim on macOS ( #423 )
2020-10-13 14:14:55 +08:00
Wenyong Huang and GitHub
dc536538ad
Fix sgx enclave module not destroyed issue when loading module failed ( #410 )
2020-09-29 10:34:06 +08:00
78c525d21c
platforms/nuttx: Add support for custom name sections & configurable heap pool ( #407 )
...
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-09-28 18:38:58 +08:00
c59bfe24fb
platforms/nuttx: Use symbol from NuttX to configure build ( #402 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-09-24 14:36:21 +08:00
Wenyong Huang and GitHub
e501a6963b
Fix some coding style issues, fix doc typo and refine some codes ( #392 )
2020-09-20 08:20:45 +08:00
c004b01be3
Introduce support for NuttX RTOS ( #377 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-09-15 20:56:45 +08:00
Xu Jun and GitHub
547298d4e7
Add macro to exclude sgx wasi/pthread ocalls if not needed ( #384 )
2020-09-15 15:49:09 +08:00
264e189690
Add Windows support for C-API and Runtime API libraries and examples. ( #379 )
...
* Add Windows support for C-API and Runtime API libraries and examples.
Signed-off-by: Wu Zhongmin <vwzm@live.com >
Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com >
* Address the review comments
Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com >
* Rewrite the the bh_getopt to make it avaliable for more kinds of options
Signed-off-by: Wu Zhongmin <vwzm@live.com >
Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com >
* Add the license header
Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com >
Co-authored-by: Zhongmin Wu <vwzm@live.com >
2020-09-11 17:36:04 +08:00
Xu Jun and GitHub
e113298d7f
use llvm release 10.x ( #365 )
2020-09-01 16:00:15 +08:00
sophy228 and GitHub
8ad9c1775f
Add wamrc AoT compiler building support for Windows(MSVC) ( #332 )
2020-08-11 11:30:51 +08:00
Wenyong Huang and GitHub
1b6ddb37d0
Implement libc-WASI for Linux SGX platform and update documents ( #343 )
2020-08-10 15:12:26 +08:00
Wenyong Huang and GitHub
ed8ddb2cea
Disable some components in llvm build script to decrease binary size ( #330 )
2020-08-03 12:38:22 +08:00
Xu Jun and GitHub
29e45e1527
implement atomic opcode in AOT/JIT ( #329 )
2020-08-03 11:30:26 +08:00
Wenyong Huang and GitHub
88af12501d
Implement ecall to handle commands from host to call enclave runtime APIs ( #320 )
2020-07-28 16:18:54 +08:00
Xu Jun and GitHub
32b2943369
enable pthread for AoT && update AOT current version to 2 ( #311 )
2020-07-16 20:35:04 +08:00
Weining and GitHub
1a85051415
Implement multi-value feature and import binarydump tool ( #308 )
2020-07-10 16:29:15 +08:00
wenyongh and GitHub
ee315e4049
Implement memory access bound check with hardware trap for 64-bit platforms ( #293 )
...
Also implement native stack overflow check with hardware trap for 64-bit platforms
Refine classic interpreter and fast interpreter to improve performance
Update document
2020-06-28 15:41:25 +08:00
Xu Jun and GitHub
d98ab63e5c
Enable shared memory && add pthread support ( #282 )
2020-06-15 19:04:04 +08:00
wenyongh and GitHub
7a287fd1a9
Implement wasm mini loader and refine footprint of loader and runtime ( #276 )
2020-06-08 11:19:09 +08:00
wenyongh and GitHub
752826a667
Implement multi-module feature and bulk-memory feature ( #271 )
...
Refine wasm loader and aot loader
Fix potential issue of os_mmap/os_munmap
Update document
2020-06-02 14:53:06 +08:00
liurenju and GitHub
0529815f34
change the alignment, which might potentially casue problem. ( #258 )
2020-05-21 16:05:02 +08:00
wenyongh and GitHub
b40e79c160
Make heap and linear memory contiguous to refine compilation time and footprint ( #233 )
...
Use FastISel for JIT mode
Use united aot version in aot file and aot runtime
Disable check signature failed warning for wamrc
Fix fast interpreter x86_32 float issue
Remove unused empty lvgl folder
2020-04-13 10:49:40 +08:00
Xu Jun and GitHub
5e196253f6
Fix function type not set issue of aot_call_indirect ( #229 )
...
Add registration of libc-wasi to 'wasi_snapshot_preview1' to support cargo-wasi
change zephyr build method from cmake to west
fix problem when preserve space for local vars
fix wasi authority problem
2020-04-07 11:04:46 +08:00
Weining and GitHub
c6fc12b7b6
Add xtensa AOT support and fix build issue of alios ( #223 )
...
* Clean compiling warnings of zephyr samples
* Support xtensa AOT and fix build issue of alios
2020-04-01 18:38:42 +08:00
wenyongh and GitHub
01e85144f4
Enable aarch64 support, add component test framework and test suite ( #211 )
...
and refine aot call indirect op
2020-03-24 19:04:29 +08:00
wenyongh and GitHub
c6042c45a3
Sync with internal feature ( #204 )
2020-03-18 17:49:23 +08:00
f1a0e75ab7
re-org platform APIs, simplify porting process ( #201 )
...
Co-authored-by: Xu Jun <jun1.xu@intel.com >
2020-03-16 16:43:57 +08:00
Weining and GitHub
aa42335a4e
minor changes ( #195 )
2020-03-11 13:49:52 +08:00
wenyongh and GitHub
0fdd49ea31
Re-org memory allocation interfaces, add --stack-size and --heap-size option ( #193 )
2020-03-10 19:54:44 +08:00