Xu Jun
684d766e2b
Refine aot call func procedure and fix zephyr timer overflow issue ( #617 )
...
1. Refine the aot call function procedure
2. fix timer integer overflow issue on zephyr platform
3. move wasm_exec_env_set_thread_info into lower layer
2021-04-19 21:06:56 +08:00
Xu Jun
52f422dba0
fix pthread library issues: ( #522 )
...
1. pthread_join can't get return value from exited threads
2. pthread_cond_wait return success when timeout
2021-02-09 10:36:44 +08:00
Wenyong Huang
388530c738
Modify os_cond_reltimedwait to support long time wait ( #461 )
...
Modify the argument of os_cond_reltimedwait to uint64 type to support long time wait, and handle possible integer overflow.
2020-12-07 17:37: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
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
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
89d2937cde
Refactor app heap and memory boundary check, and fix os_printf compilation error ( #356 )
...
Insert app heap before __heap_base, or before new page
Fix os_printf compilation error in some platforms
2020-08-20 12:43:12 +08:00
Wenyong Huang
8c820730ba
Add cmake variable to set the max app thread stack size ( #346 )
2020-08-11 14:47:24 +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
d98ab63e5c
Enable shared memory && add pthread support ( #282 )
2020-06-15 19:04:04 +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
a0bb761beb
Update API comments, refine footprint of wasm loader ( #256 )
...
and fix issues of get native stack boundary
2020-05-15 17:44:36 +08:00
wenyongh
e8e45aeecd
Refine aot stack overflow check and enhance wasm loader malformed checks ( #248 )
...
And separate global data from wasm memory instance
2020-05-08 12:38:59 +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
Shi Lei
b6cae54b54
Add printingAdd print time for wamrc, fix posix mmap bug time for wamrc, fixed a posix mmap bug. ( #206 )
...
Change-Id: Ib6517b8a69cf022a1a6a74efa1f98155aec143bc
2020-03-20 16:06:40 +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