Commit Graph

154 Commits

Author SHA1 Message Date
Ilya Rezvov 11b6f4fdc8 fix if instruction execution 2018-04-11 14:54:05 -07:00
Ilya Rezvov 82c0433e5d fix corner cases for float instructions 2018-04-11 11:08:41 -07:00
Ilya Rezvov e0d9eeb51f fix tee_local semantic 2018-04-10 21:59:54 -07:00
Ilya Rezvov c644578d8b fix memory growing behavior 2018-04-10 21:25:54 -07:00
Ilya Rezvov c75900a2c8 fix loading of signed ints from memory 2018-04-10 21:09:58 -07:00
Ilya Rezvov ab1782c982 fix int instructions 2018-04-10 21:02:37 -07:00
Ilya Rezvov 1fe669e762 use correct signed int representation 2018-04-10 20:50:26 -07:00
Ilya Rezvov 8514232513 fix offset parsing and one byte loading instruction 2018-04-10 19:48:02 -07:00
Ilya Rezvov fd7ce7e450 fix copysign instruction 2018-04-10 16:56:42 -07:00
Ilya Rezvov f6cae32148 fix float numbers parsing 2018-04-10 15:04:18 -07:00
Ilya Rezvov f4e008ab9a fix arguments order on function call 2018-04-10 09:17:26 -07:00
Ilya Rezvov 147f4224d3 implement grow memory instruction 2018-04-10 09:07:30 -07:00
Ilya Rezvov 3be5840c9a implement grow_memory 2018-04-09 21:48:37 -07:00
Ilya Rezvov d055a4ff6d fix call_indirect evaluation 2018-04-09 21:41:17 -07:00
Ilya Rezvov dac931b055 implement assert_return assertion 2018-04-09 15:08:48 -07:00
Ilya Rezvov b7933df8c3 add actions interpretatiion 2018-04-09 14:36:14 -07:00
Ilya Rezvov 554a56fb63 pass nan with payload to token 2018-04-09 07:12:47 -07:00
Ilya Rezvov 8cd33831a1 'fix' type of br_if and comment multiple table definitions in test module 2018-04-08 20:06:25 -07:00
Ilya Rezvov 8ef3eadc9a parse arithmetic nan 2018-04-08 19:47:10 -07:00
Ilya Rezvov 6b376ee4cb fix elems validator 2018-04-08 17:51:04 -07:00
Ilya Rezvov 277cfad6ff add host environment for script modules 2018-04-08 17:42:25 -07:00
Ilya Rezvov 7a66ff7150 provide imports for modules from registery 2018-04-08 12:50:36 -07:00
Ilya Rezvov 98d9ca2399 fix parsing binary modules from text representation 2018-04-08 11:54:29 -07:00
Ilya Rezvov 87758b2789 fix memory growing for empty data segments 2018-04-08 10:53:14 -07:00
Ilya Rezvov 8b5c7fa154 grow tables and memories on module initialization 2018-04-08 10:45:09 -07:00
Ilya Rezvov d7641bcee2 fix implicit type extraction 2018-04-08 10:25:05 -07:00
Ilya Rezvov 43feccbf08 load modules in wasm script commands 2018-04-08 09:43:41 -07:00
Ilya Rezvov 8c8cec0498 update goals 2018-03-21 09:49:50 -07:00
Ilya Rezvov 8a22d84804 pass all tests 2018-03-20 21:52:02 -07:00
Ilya Rezvov 682e71defc fix tokenizing of numbers and expressions of offset 2018-03-20 21:33:11 -07:00
Ilya Rezvov 3400a7c1ad fix stack instructions parsing 2018-03-20 21:26:42 -07:00
Ilya Rezvov e9c5ad8dac fix function parsing 2018-03-20 21:11:59 -07:00
Ilya Rezvov 4ed8752744 add whole test files from Core Test Suit 2018-03-20 21:01:25 -07:00
Ilya Rezvov d9849f77bf parse wasm script grammar 2018-03-20 20:28:03 -07:00
Ilya Rezvov 4bf66b9295 fix module idents coding 2018-03-20 16:51:58 -07:00
Ilya Rezvov 13fecfe74b Merge branch 'master' of github.com:SPY/haskell-wasm 2018-03-20 16:17:20 -07:00
Ilya Rezvov 952fa3bd97 add types for script extention 2018-03-20 16:17:10 -07:00
Ilya Rezvov b03bdf5b57 Update goals in readme 2018-03-19 12:27:44 -07:00
Ilya Rezvov 96cd65ac24 implement store operations 2018-03-19 11:36:12 -07:00
Ilya Rezvov da6d15c63f add loading instructions for i64 2018-03-19 11:10:23 -07:00
Ilya Rezvov 4d6a8d6d3f add load instructions handling for primitive types and i32 parts 2018-03-18 22:18:54 -07:00
Ilya Rezvov a4ed63fe53 implement relation float operations 2018-03-18 19:59:23 -07:00
Ilya Rezvov 3be5bd0648 implement binary float operations 2018-03-18 19:53:40 -07:00
Ilya Rezvov 8bcfdb18c5 add unary float operations 2018-03-18 19:46:45 -07:00
Ilya Rezvov 1ba3044aa5 implement numeric conversion instructions 2018-03-18 19:18:41 -07:00
Ilya Rezvov 4775c42207 implement test and unary integer operations 2018-03-16 10:32:36 -07:00
Ilya Rezvov 51f4cdfa53 fix arguments ordering for int binary operations 2018-03-16 10:11:06 -07:00
Ilya Rezvov 3d9cb6132b make fact work 2018-03-15 21:53:02 -07:00
Ilya Rezvov 421d7db976 implement int rel operations 2018-03-15 21:02:38 -07:00
Ilya Rezvov 36225ea479 implement int bin operations 2018-03-15 20:53:45 -07:00