Commit Graph

302 Commits

Author SHA1 Message Date
Xu Jun
6523868a9a
fix aot load import global bug && enhance dead code processing (#203)
Co-authored-by: Xu Jun <jun1.xu@intel.com>
2020-03-17 17:51:51 +08:00
Weining
2a74e2dd29
Clean compiling warnings of zephyr samples (#202) 2020-03-17 11:20:00 +08:00
Wang Xin
63cbe4a967
Update README.md 2020-03-16 19:26:10 +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
Rochet2
ef5ceffe71
Correct mistake in documentation (#198) 2020-03-13 00:42:15 +08:00
wenyongh
751a3b5865
Enhance interpreter performance (#196) 2020-03-12 08:59:02 +08:00
Wang Xin
add6697bda
Merge pull request #3 from bytecodealliance/master
sync to mainstream
2020-03-11 15:27:22 +08:00
Weining
aa42335a4e
minor changes (#195) 2020-03-11 13:49:52 +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
Xu Jun
381859d530
fix unaligned 64bit access on MCU (#192) 2020-03-10 11:48:28 +08:00
wenyongh
180ee4c78a
Add realloc func argument for memory allocator (#191) 2020-03-08 21:18:18 +08:00
Xu Jun
057c849fc0
re-org bh_definition.c && introduce wamr fast interpreter (#189)
Co-authored-by: Xu Jun
2020-03-07 22:20:38 +08:00
wenyongh
cfcaca3d35
Refine build script of zephyr product-mini, enable aot soft-float support (#188) 2020-03-05 21:46:24 +08:00
Wang Xin
be69c51aec
git download the llvm repo in 1 depth (#187) 2020-03-05 19:20:35 +08:00
Wang Xin
81fee9c2ff download llvm in 1 depth 2020-03-05 19:15:36 +08:00
Wang Xin
662aeb09e9 Merge remote-tracking branch 'upstream/master' 2020-03-05 19:03:28 +08:00
Wang Xin
881b46cfc8
Update export_native_api.md 2020-03-05 12:48:29 +08:00
Wang Xin
a325c6d3fe
Update export_native_api.md 2020-03-05 10:48:26 +08:00
Wang Xin
eb1eb9d96d
Update README.md
fix the link of menu config image
2020-03-04 22:27:38 +08:00
wenyongh
0d3f304191
Implement native function pointer check, addr conversion and register, update documents (#185)
Modified WASM runtime API:
- wasm_runtime_module_malloc()
- wasm_runtime_lookup_function()
Introduced runtime API
- wasm_runtime_register_natives()
2020-03-04 20:12:38 +08:00
Daisuke Ogawa
2e36149e32
Fix bug of Dockerfile (#183) 2020-02-28 12:19:35 +08:00
Wang Xin
038735d554 Merge remote-tracking branch 'upstream/master' 2020-02-28 08:02:19 +08:00
wenyongh
9a961c4843
Enable ARM and THUMB AOT support, enable Android platform support (#182)
* Sync with internal/feature: enable arm aot and android platform
2020-02-27 16:38:44 +08:00
wenyongh
4dbe7c44d0
Fix block addr cache uninitialized issue in aot compiler (#181) 2020-02-27 15:33:56 +08:00
qdaoming-intel
7962c47085
Diasble AOT in SGX build by default, as it requires SGX SDKv2.8 or la… (#180)
* Diasble AOT in SGX build by default, as it requires SGX SDKv2.8 or later.

* Update bh_platform.c

Co-authored-by: daomingq <daomingq@users.noreply.github.com>
Co-authored-by: wenyongh <wenyong.huang@intel.com>
2020-02-25 16:00:37 +08:00
Renji Panicker
76eea80046
fixed typecast error when compiling in C++ (#179) 2020-02-25 10:03:26 +08:00
renjipanicker
af4a96e2a0
Fixed darwin build (#178)
* RSIZE_MAX is already defined by system on darwin

* MADV_HUGEPAGE is not available on darwin

* Fixed linker error 'Undefined symbol _get_ext_lib_export_apis' on darwin when building iwasm dylib
2020-02-24 17:16:18 +08:00
renjipanicker
36b1044363
Fixed C compiler detection error in CMakeList.txt (#176)
* Fixed C compiler detection error in CMakeList.txt

* Update CMakeLists.txt

Co-authored-by: wenyongh <wenyong.huang@intel.com>
2020-02-24 11:29:23 +08:00
Wang Xin
dc7177e745
fix sample littlevgl build.sh issue (#174) 2020-02-23 22:23:40 +08:00
Wang Xin
dd641abdb9 fix sample littlevgl build.sh 2020-02-23 20:17:44 +08:00
Wang Xin
d25a5f8021 Merge remote-tracking branch 'upstream/master' 2020-02-23 09:31:48 +08:00
wenyongh
72d9e886e8
Merge two levels of hash cache of branch block address into one (#173) 2020-02-22 21:05:08 +08:00
Wang Xin
3695f29d34
support cross compliation for SDK and the simple sample (#172) 2020-02-22 15:06:53 +08:00
Wang Xin
62725abe95
Update README.md 2020-02-22 14:53:53 +08:00
Wang Xin
90c7580283 multiple profile for simple sample 2020-02-22 14:19:07 +08:00
Wang Xin
fc96ff2943
Merge pull request #2 from bytecodealliance/master
sdk build tools and app framework updates (#171)
2020-02-22 11:22:44 +08:00
Wang Xin
82b0bb44c3
sdk build tools and app framework updates (#171) 2020-02-22 10:12:26 +08:00
wenyongh
4979379246
Update iwasm_main.c 2020-02-22 09:39:46 +08:00
Wang Xin
f663f44bd7 read and snapshot update 2020-02-22 08:44:51 +08:00
Wang Xin
983209854c rename the api header files 2020-02-22 08:34:03 +08:00
Wang Xin
d886f1a4d0
Merge pull request #1 from xujuntwt95329/master
update menuconfig.sh
2020-02-22 07:13:41 +08:00
Xu Jun
ccdba48d30 update menuconfig.sh 2020-02-21 23:03:58 +08:00
Wang Xin
ef611452ce build.sdk. 2020-02-21 20:45:06 +08:00
Wang Xin
87f725b5d5 ab 2020-02-21 19:45:55 +08:00
Wang Xin
de47e72284 aa 2020-02-21 19:45:27 +08:00
Wang Xin
a478166884 sdk build 2020-02-21 16:54:20 +08:00
qdaoming-intel
a4ac16a1c8
Add SGX AOT support with SGX SDKv2.8 unpublic sgx_rsrv_mem_mngr.h (#169) 2020-02-19 15:11:12 +08:00
wenyongh
0fb40f3f9a Remove unused build folders (#168)
Former-commit-id: 227d49486acda8b73fb55c99356f329fad128961
Former-commit-id: 375c1ac00078baac1bae481e26eabbf8428bfa5e
2020-02-18 15:57:21 +08:00
wenyongh
e62bbeb9e8 Refine wasm loader and interpreter, enhance wamrc to support SGX (#167)
Former-commit-id: 76f4a121d3c2a67114414fc60e80eba4bf49aa8e [formerly b1ab47945a]
Former-commit-id: 8e5c6e895eae22051a79a8d337a87cd2f431b6bc
2020-02-18 15:15:24 +08:00
Junxian Xiao
20cf199ce4 Fix issues when use linux-sgx as cmake subdirectory (#166)
1. Remove the copy of libvmlib.a and libextlib.a to ../enclave_example,
   which doesn't exist in other project.
2. Use default SGX_SDK path to avoid "source $SGX_SDK/environment".

Signed-off-by: Junxian.Xiao <junxian.xjx@antfin.com>
2020-02-17 11:36:17 +08:00