Commit Graph

2980 Commits

Author SHA1 Message Date
Syrus Akbary
33b8757e90 Get env printf basic example working 2018-10-29 12:29:44 +01:00
Syrus Akbary
c97312345e Test 'tee_local' and 'set_global' in more operators
Based on this commit from the WebAssembly spec tests: c90bc9686f
2018-10-29 09:53:48 +01:00
Syrus Akbary
d772cacc98 Fixed globals to a correct func pointer. Added globals spectest
Also fixed f32, f64 to i64 conversion (from mem::transmute to byte type casting)
2018-10-28 21:50:57 +01:00
Syrus Akbary
c9725ecb8b Added stack spectest 2018-10-28 14:05:52 +01:00
Syrus Akbary
f4ce2c72ba Added switch spectest 2018-10-28 13:59:06 +01:00
Syrus Akbary
b94049f949 Fixed heap reference to memory. Added address spectest 2018-10-27 13:33:08 +02:00
Syrus Akbary
0e1dc88d9c Improved call_indirect tests and instance error message on mutable memories 2018-10-26 15:14:51 +02:00
Syrus Akbary
79506c4983 Make align partially pass 2018-10-26 14:53:33 +02:00
Syrus Akbary
6c18701f9d Improved tests to use a common vm_context for same modules 2018-10-26 12:49:29 +02:00
Syrus Akbary
d32422c2be Improved memory access to use the vm_context 2018-10-26 12:49:02 +02:00
Syrus Akbary
674c62aad5 Fixed tempdir dependency issue with Crates 2018-10-26 00:43:00 +02:00
Syrus Akbary
b5590c21a3 Improved Cargo package licensing & description 2018-10-26 00:43:00 +02:00
Syrus Akbary
d380eede4d Make wasmer publishable 2018-10-26 00:43:00 +02:00
Syrus Akbary
9d02cef0c2 Improved cargo packaging 2018-10-26 00:43:00 +02:00
Syrus Akbary
1882aa8fd6 Added excute function debug print statements 2018-10-25 19:22:52 +02:00
Syrus Akbary
ca6050e18b Fixed instantiate_streaming references 2018-10-24 12:36:43 +02:00
Syrus Akbary
dfa50ddc53 Remove unused code 2018-10-24 12:35:54 +02:00
Syrus Akbary
dac7e50667 Improved Readme 2018-10-24 12:07:52 +02:00
Syrus Akbary
d4a21c0343 Added unimplemented instantiateStreaming function 2018-10-24 11:56:42 +02:00
Syrus Akbary
6db2d9f696 Documented the import module 2018-10-24 11:54:06 +02:00
Syrus Akbary
fe9fb9fe42 Improved memory documentation 2018-10-24 11:47:12 +02:00
Syrus Akbary
bcad000cc2 Improved utility functions docs 2018-10-24 11:44:33 +02:00
Syrus Akbary
1c6f677a78 Cleanup “module” module 2018-10-24 11:43:18 +02:00
Syrus Akbary
67b0d156a3 Refactored relocation code 2018-10-24 11:39:00 +02:00
Syrus Akbary
43788589d0 Commented cargo bench for now 2018-10-24 02:53:33 +02:00
Syrus Akbary
76850eed96 Fixed grow_memory function 2018-10-24 02:32:06 +02:00
Syrus Akbary
d797808d4b Improved Instance docs and removed unused code 2018-10-24 02:17:05 +02:00
Syrus Akbary
e9a968b4b0 Improved formatting 2018-10-24 02:01:46 +02:00
Syrus Akbary
48f7c46020 Set spectests to be only imported in testing 2018-10-24 02:01:16 +02:00
Syrus Akbary
c4b0261336 Added f64_cmp spectest 2018-10-24 02:00:59 +02:00
Syrus Akbary
3727d6e3de Added f64_bitwise spectest 2018-10-24 01:57:37 +02:00
Syrus Akbary
0c6d76bbba Added f32_cmp spectest 2018-10-24 01:55:08 +02:00
Syrus Akbary
36326007c5 Added f32_bitwise spectest. Improved f32, f64 NaN assertions 2018-10-24 01:51:52 +02:00
Syrus Akbary
f6a5bfaeee Added f64 spectest 2018-10-24 01:22:16 +02:00
Syrus Akbary
e8e7111e3f Added f32 spectest 2018-10-24 01:15:20 +02:00
Syrus Akbary
bb3e5dcfbe Allow LibCalls in the relocator 2018-10-24 01:14:59 +02:00
Syrus Akbary
363fb9894f Added exports spectest 2018-10-24 00:41:32 +02:00
Syrus Akbary
459be45480 Added data spectest 2018-10-24 00:27:15 +02:00
Syrus Akbary
a0a8e7512b Added labels spectest 2018-10-24 00:25:11 +02:00
Syrus Akbary
1b728e8903 Removed unused file 2018-10-24 00:25:02 +02:00
Syrus Akbary
a5da22aa64 Added break_drop spectest 2018-10-24 00:22:07 +02:00
Syrus Akbary
596c1ef72c Added const spectest 2018-10-24 00:17:36 +02:00
Syrus Akbary
d28b29ccc0 Fixed start function 2018-10-24 00:17:17 +02:00
Syrus Akbary
a3343a2ffb Added i64 spectest 2018-10-24 00:04:30 +02:00
Syrus Akbary
c8acc46e1f Formatted file 2018-10-24 00:02:35 +02:00
Syrus Akbary
1311057fd7 Added block spectest 2018-10-24 00:02:19 +02:00
Syrus Akbary
8b6b6152f4 Added br spectest 2018-10-23 23:58:13 +02:00
Syrus Akbary
98df45a7dd Improved spectest generator 2018-10-23 23:54:07 +02:00
Syrus Akbary
6653eeca4f Improved testing times by 5-10x
This is done via grouping of module/instance creation calls. This way the assert return calls are grouped to be tested in the same thread (therefore only one module creation is required rather than n=one for each test)
2018-10-23 15:43:44 +02:00
Syrus Akbary
8671025d97 Commented build_spectests file 2018-10-23 13:26:21 +02:00