Wenyong Huang
adb05ea719
Enable SIMD support for Linux SGX platform ( #474 )
2020-12-21 15:17:36 +08:00
Wenyong Huang
0700dc9cd4
Fix wasi ctx memory free issue when app heap is corrupted ( #455 )
2020-11-30 17:00:53 +08:00
Wenyong Huang
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
0359805c82
Import FreeRTOS platform experiment codes for further development ( #451 )
2020-11-26 19:10:05 +08:00
Wenyong Huang
74be7a0b7c
Add more checks to enhance security ( #446 )
...
add more checks to enhance security
clear "wasi proc exit" exception before return to caller in wasm/aot call functions
fix memory profiling issue
change movdqa to movdqu in simd invokeNative asm codes to fix issue of unaligned address access
move setjmp/longjmp from libc-builtin to libc-emcc
fix zephyr platform compilation issue in latest zephyr version
2020-11-24 14:00:09 +08:00
Wenyong Huang
a3074df21b
Import SIMD feature and add some workload samples ( #438 )
2020-11-05 18:15:15 +08:00
Wenyong Huang
91b9458ebd
Add more checks to enhance app heap's security ( #428 )
2020-10-22 18:52:33 +08:00
Wang Ning
c515fb1b75
Add tensorflow sample under samples/workload/tensorflow ( #427 )
2020-10-22 16:18:37 +08:00
lum1n0us
4787b150b8
Enable multi-module support for wasm-c-api ( #426 )
...
it is allowed that all imported functions and globals can be
linked by multi-module feature automatically or by wasm-c-api manually
2020-10-16 17:43:57 +08:00
Karl Fessel
cc0aab1063
Remove '@' when declare function invokeNative to fix compile error ( #417 )
2020-10-12 16:52:28 +08:00
jmpews(AKA.zz)
d8d367b367
Update some assembler directives for darwin target ( #395 )
2020-09-23 13:10:26 +08:00
Xu Jun
dc4b8c4822
remove errno in wasm_application_execute_func ( #396 )
2020-09-23 11:50:37 +08:00
Wenyong Huang
e501a6963b
Fix some coding style issues, fix doc typo and refine some codes ( #392 )
2020-09-20 08:20:45 +08:00
Xiaokang Qin
7c8ccc7c26
Fix the build warnings on Mac ( #388 )
...
Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com>
2020-09-18 18:22:26 +08:00
Xu Jun
0226dbbb3d
introduce WAMR memory profiling tool (experimental) ( #390 )
2020-09-18 18:04:56 +08:00
Xu Jun
2499e1ec4b
Fix issue and compilation warnings of new function call APIs ( #383 )
2020-09-14 15:30:42 +08:00
Xiaokang Qin
5418e09712
Add two apis for wasm function call ( #375 )
...
Add below two apis:
bool wasm_runtime_call_wasm_a(WASMExecEnv *exec_env,
WASMFunctionInstanceCommon *function,
uint32 num_results, wasm_val_t results[],
uint32 num_args, wasm_val_t args[])
bool wasm_runtime_call_wasm_v(WASMExecEnv *exec_env,
WASMFunctionInstanceCommon *function,
uint32 num_results, wasm_val_t results[],
uint32 num_args, ...)
Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com>
2020-09-08 13:03:35 +08:00
Xu Jun
2e0cef3ef1
fix exec_env not checked issue, export __heap_base and __data_end in sample to decrease memory usage ( #371 )
2020-09-05 14:48:08 +08:00
Wenyong Huang
034606b0a9
Change wasm app offset type from int32 to uint32 ( #361 )
...
And fix some sign/unsigned conversion compilation warnings.
2020-08-26 18:33:29 +08:00
Wenyong Huang
0103f6429c
Refactor error/exception strings to reduce binary size ( #359 )
2020-08-21 15:11:31 +08:00
Xu Jun
1266ebb222
fix coding style for windows build patch ( #350 )
2020-08-13 16:40:19 +08:00
Xu Jun
21efe12505
add win64 support ( #348 )
2020-08-13 14:41:20 +08:00
sophy228
8ad9c1775f
Add wamrc AoT compiler building support for Windows(MSVC) ( #332 )
2020-08-11 11:30:51 +08:00
Xu Jun
6aeefbebb2
implement atomics opcodes for interpreter ( #344 )
2020-08-10 19:43:58 +08:00
Wenyong Huang
1b6ddb37d0
Implement libc-WASI for Linux SGX platform and update documents ( #343 )
2020-08-10 15:12:26 +08:00
Wenyong Huang
aa7b0ba6b6
Fix wamrc link error and arm assembly code issue ( #335 )
2020-08-05 09:07:30 +08:00
Karl Fessel
37aae1bc49
make include headers follow strict protoype rule ( #331 )
2020-08-04 19:53:34 +08:00
Xu Jun
2db335c6d4
add spawn thread API and sample ( #333 )
2020-08-04 17:40:45 +08:00
Xu Jun
29e45e1527
implement atomic opcode in AOT/JIT ( #329 )
2020-08-03 11:30:26 +08:00
dpinthinker
cc05f8fb1c
Use quicksort to sort native_symbols ( #324 )
2020-07-31 20:54:03 +08:00
lum1n0us
08d01b65c5
Eable post-MVP feature wasm-c-api ( #315 )
2020-07-23 16:54:13 +08:00
Xu Jun
32b2943369
enable pthread for AoT && update AOT current version to 2 ( #311 )
2020-07-16 20:35:04 +08:00
dpinthinker
49555f48b3
remove duplicated method resolve_main_func ( #305 )
2020-07-10 16:47:22 +08:00
Weining
1a85051415
Implement multi-value feature and import binarydump tool ( #308 )
2020-07-10 16:29:15 +08:00
wenyongh
2fc7230009
Enhance the native stack overflow check ( #302 )
2020-07-07 09:56:46 +08:00
wenyongh
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
acb68c64c2
update doc for multi-thread ( #284 )
2020-06-16 15:01:35 +08:00
Xu Jun
d98ab63e5c
Enable shared memory && add pthread support ( #282 )
2020-06-15 19:04:04 +08:00
wenyongh
7a287fd1a9
Implement wasm mini loader and refine footprint of loader and runtime ( #276 )
2020-06-08 11:19:09 +08:00
wenyongh
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
wenyongh
d381b0fdec
Implement post-MVP features and native stack overflow check ( #243 )
...
Implement native thread stack overflow check
Implement post-MVP: Non-trapping float-to-int conversions
Implement post-MVP: Sign-extension operators
Enhance WASM loader checks
2020-04-30 17:52:11 +08:00
wenyongh
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
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
wenyongh
c1a0e6d877
Implement register/call native API with raw (unextracted) arguments ( #222 )
2020-04-01 12:52:08 +08:00
Xu Jun
d9890d2ccb
re-org ems mem allocator source codes, update prot_wamr.md ( #217 )
2020-03-30 11:06:39 +08:00
wenyongh
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
Shi Lei
67495919b0
Add a basic sample to show how native runtime invokes wasm apps in WAMR and how wasm apps invoke native functions. ( #207 )
...
* Add printingAdd print time for wamrc, fix posix mmap bug time for wamrc, fixed a posix mmap bug.
Change-Id: Ib6517b8a69cf022a1a6a74efa1f98155aec143bc
* Add a basic sample to show how native runtime invokes wasm app in WAMR, and how wasm app invokes native functions.
Change-Id: I700ae413ad5e9ea04540d5187952305e1ee92d73
2020-03-20 16:39:13 +08:00
Xu Jun
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
wenyongh
0fdd49ea31
Re-org memory allocation interfaces, add --stack-size and --heap-size option ( #193 )
2020-03-10 19:54:44 +08:00
wenyongh
180ee4c78a
Add realloc func argument for memory allocator ( #191 )
2020-03-08 21:18:18 +08:00