losfair
|
b7ca5e46ed
|
Add Select opcode.
|
2019-02-28 23:12:42 +08:00 |
|
losfair
|
ec9a8f0ebd
|
Add test for if/else.
|
2019-02-27 23:41:04 +08:00 |
|
losfair
|
d50f1cc95f
|
If/Else.
|
2019-02-27 23:38:45 +08:00 |
|
losfair
|
3c3c5db2e1
|
Native trampolines.
|
2019-02-26 20:56:10 +08:00 |
|
losfair
|
9d8c5a5c70
|
Add a note on incorrect code generation.
|
2019-02-25 23:57:12 +08:00 |
|
losfair
|
530294922a
|
Allow more registers to be used.
|
2019-02-25 23:55:27 +08:00 |
|
losfair
|
b18595f2dc
|
Pass command-line arguments to wasm as i32.
|
2019-02-25 23:39:12 +08:00 |
|
losfair
|
78fd995ad3
|
Fix argument passing at entry.
|
2019-02-25 23:38:33 +08:00 |
|
losfair
|
80812e3809
|
Implement native call & fix stack alignment.
|
2019-02-25 23:29:18 +08:00 |
|
losfair
|
da1a3fadb1
|
Add test for br_table.
|
2019-02-25 22:47:41 +08:00 |
|
losfair
|
2432a6c9b3
|
Fix function calls.
|
2019-02-25 22:47:27 +08:00 |
|
losfair
|
dbebdf937f
|
Code generation for br_table.
|
2019-02-24 12:00:35 +08:00 |
|
losfair
|
b2f5f77094
|
Add direct call test
|
2019-02-24 00:52:50 +08:00 |
|
losfair
|
09cbd4aeb0
|
Changed to using custom calling conventions; Implemented direct calls.
|
2019-02-24 00:52:32 +08:00 |
|
losfair
|
e9c0325784
|
Update dependencies
|
2019-02-24 00:51:47 +08:00 |
|
losfair
|
693c9fd2ab
|
Single-pass backend tests.
|
2019-02-23 01:54:45 +08:00 |
|
losfair
|
08a2ec82b3
|
Unary operators, comparison opcodes, loops, etc.
|
2019-02-23 01:54:16 +08:00 |
|
losfair
|
7c439932f1
|
Block and conditional branch.
|
2019-02-21 22:04:43 +08:00 |
|
losfair
|
63b3f41f05
|
Handle unreachable and fix return.
|
2019-02-21 21:14:10 +08:00 |
|
losfair
|
6f97ebd5f7
|
Remove a hack in parser.
|
2019-02-21 21:12:58 +08:00 |
|
losfair
|
aaabbf169c
|
Operator::Br and control stack fixes
|
2019-02-20 23:21:33 +08:00 |
|
losfair
|
61c83507a4
|
Control frames, jumps & stack unwinding.
|
2019-02-20 22:56:32 +08:00 |
|
losfair
|
93d2713bde
|
Operators.
|
2019-02-19 20:25:09 +08:00 |
|
losfair
|
5583e96d96
|
Mitigate a bug that causes incorrect code generation.
Still need to figure out why R8 and higher registers don't work.
|
2019-02-19 19:19:40 +08:00 |
|
losfair
|
bb52a4e6eb
|
Now we can run add !
|
2019-02-15 02:21:52 +08:00 |
|
losfair
|
1526d35872
|
Emit a Return opcode if the last one is not return.
|
2019-02-15 02:21:04 +08:00 |
|
losfair
|
8d8db4aa09
|
Starting integration.
|
2019-02-14 00:53:36 +08:00 |
|
losfair
|
7df7204e4b
|
codegen: More opcodes
|
2019-02-14 00:53:06 +08:00 |
|
losfair
|
43df3dd546
|
Use System V calling convention and implement a few opcodes.
|
2019-02-13 20:04:10 +08:00 |
|
losfair
|
a69c5b4a14
|
stack: Helper functions and unified return types
|
2019-02-13 20:03:54 +08:00 |
|
losfair
|
4ebb22f8bc
|
Calling conventions, value stack, and runtime stack layout.
|
2019-02-12 23:15:57 +08:00 |
|
losfair
|
2fbb5e3332
|
Codegen backend for x64.
|
2019-02-12 00:52:17 +08:00 |
|
losfair
|
ffc1bde3d8
|
Cleanup & add imports.
|
2019-02-12 00:52:01 +08:00 |
|
losfair
|
bbb27bedbe
|
Code generation framework.
|
2019-02-12 00:51:49 +08:00 |
|
losfair
|
af19f5c097
|
Update dependencies.
|
2019-02-12 00:51:26 +08:00 |
|
losfair
|
f735471bac
|
Merge remote-tracking branch 'private/master' into feature/dynasm-backend
|
2019-02-11 18:38:00 +08:00 |
|
Mackenzie Clark
|
4ef7dc339c
|
optimize imports (#170)
|
2019-02-09 13:31:28 -08:00 |
|
Mackenzie Clark
|
e7c3b99ba9
|
add lua integration test (#109)
|
2019-02-08 17:47:51 -08:00 |
|
Mackenzie Clark
|
9a56680281
|
fix windows linking and appveyor build (#166)
|
2019-02-08 13:51:29 -08:00 |
|
Lachlan Sneff
|
1886b3d3c1
|
Naive short circuiting implementation for user panics and results. (#167)
* Add panic and result catching
* exit process on panic and user runtime error
* Complete initial implementation
|
2019-02-08 13:08:03 -08:00 |
|
Lachlan Sneff
|
4e1bc483a8
|
Fix emscripten setup, nginx works (#165)
* Fix emscripten setup, nginx works
* Remove commented-out code
* Re-enable nginx integration test
|
2019-02-08 10:55:32 -08:00 |
|
Mackenzie Clark
|
351b4feeeb
|
implement with_size_protect (#163)
* implement with_size_protect
* no more conditional compilation
|
2019-02-08 10:32:20 -08:00 |
|
losfair
|
9649219578
|
Initial work on WebAssembly parser for Dynasm backend.
|
2019-02-08 23:56:14 +08:00 |
|
Mackenzie Clark
|
46ac4e9e1a
|
reorganize signal module and leave stubs in windows (#162)
|
2019-02-07 17:08:42 -08:00 |
|
Mackenzie Clark
|
9719781eee
|
create platform mods for syscalls and stub for windows (#161)
* create platform mods for syscalls and stub for windows
* missing constants and duplicate use statements
|
2019-02-07 16:56:44 -08:00 |
|
Mackenzie Clark
|
f8e2b25137
|
consolidate shared functions and optimize use statements (#159)
|
2019-02-07 15:24:22 -08:00 |
|
Mackenzie Clark
|
25d438f346
|
create an alias for pid_t which does not exist on libc windows (#160)
|
2019-02-07 15:12:27 -08:00 |
|
Lachlan Sneff
|
8d2c1956d7
|
Fix runtime error catching (#157)
|
2019-02-07 14:44:28 -08:00 |
|
Mackenzie Clark
|
ea2bd80089
|
refactor getenv for windows (#156)
|
2019-02-07 14:23:13 -08:00 |
|
Syrus Akbary
|
3cbad561d6
|
Merge pull request #158 from wasmerio/feature/enable-passing-emtests
Re-enable all passing emtests for CI
|
2019-02-07 13:44:53 -08:00 |
|