Commit Graph

115 Commits

Author SHA1 Message Date
losfair
394c56b2b4 Added missing was_unreachable check. 2019-04-11 18:59:00 +08:00
losfair
77c1bfa005 Cargo fmt 2019-04-11 11:53:26 +08:00
losfair
759fecf6fd Fix longjmp. 2019-04-11 11:52:57 +08:00
losfair
7e20575e5b Implement get_wasm_trampoline 2019-04-11 11:41:32 +08:00
losfair
ab04f54e72 Merge remote-tracking branch 'origin/master' into dynasm-refactor 2019-04-11 10:06:47 +08:00
losfair
4736028369 Cargo fmt 2019-04-11 09:43:02 +08:00
losfair
799e1d8dec Cleanup. 2019-04-11 09:41:18 +08:00
losfair
2d72bbf834 Smallvec optimization. 2019-04-11 09:31:54 +08:00
losfair
e8fe58d9c6 Implement IxxTrunc{U/S}Fxx bound checks. 2019-04-11 09:14:29 +08:00
losfair
02a305cfbe Fix function pointer offset for resolver. 2019-04-11 08:44:18 +08:00
losfair
4e09bda745 Fix calling convention. 2019-04-11 02:54:23 +08:00
losfair
13d456aaf2 Fixed ShrU/S and Trunc's. 2019-04-11 01:53:13 +08:00
losfair
3300a3b272 Passing all spectests, except traps. 2019-04-11 00:55:55 +08:00
Lachlan Sneff
0745274892 Cleanup 2019-04-09 16:07:09 -07:00
losfair
e78a5ba602 F32ConvertUI64, F64ConvertUI64 2019-04-10 01:38:16 +08:00
losfair
69d6093955 Fix GetGlobal, RemS/U and floating point comparison. 2019-04-10 00:41:32 +08:00
losfair
6b514e110a 1241/1256 tests passing 2019-04-09 19:10:20 +08:00
losfair
f781b0eb02 More floating point operators. 2019-04-09 17:08:31 +08:00
losfair
e32816b06b Floating point with AVX. 2019-04-09 01:24:30 +08:00
losfair
154f7f8fd3 BrTable, 64-bit memory operations and bug fixes. 2019-04-08 17:47:41 +08:00
losfair
29d93aee2d Indirect calls. 2019-04-07 17:19:23 +08:00
losfair
b46107762e Imports. 2019-04-04 11:19:38 +08:00
losfair
07eac13ee3 Align stack to 16 bytes and implement i32 stores. 2019-04-04 10:50:48 +08:00
losfair
a43f8ea0b1 Memory operations. 2019-04-04 09:38:22 +08:00
losfair
4c39cb482f Cleanup calling & implement I64ExtendSI32. 2019-04-03 22:49:26 +08:00
losfair
b74d8bc521 Optimize locals. 2019-04-02 20:50:56 +08:00
losfair
4d6bbed905 Optimize call. 2019-04-02 11:11:45 +08:00
losfair
84e5a0c8eb Call 2019-04-02 01:16:37 +08:00
losfair
1179b8a20f Fix Operator::Br. 2019-04-02 00:17:52 +08:00
losfair
13c5446c55 Loop & bug fixes 2019-04-02 00:11:01 +08:00
losfair
d2e12084a0 64-bit operators & bug fixes. 2019-04-01 23:49:46 +08:00
losfair
cf680e2a13 Relax 64-bit immediates. 2019-04-01 20:56:32 +08:00
losfair
6762c2d586 More opcodes for codegen v2. 2019-04-01 20:33:33 +08:00
losfair
6ac81a3c84 Implement more instructions. 2019-03-31 00:44:02 +08:00
Ivan Enderlin
316cbc54ab doc(lib) Add basic README.md. 2019-03-29 10:17:24 +01:00
losfair
0f26ee40de Codegen v2. 2019-03-29 12:06:47 +08:00
losfair
a2f86c3c52 Improve machine state abstraction. 2019-03-29 12:06:28 +08:00
Mackenzie Clark
5294eb6b0d merge and respond to feedback 2019-03-28 11:41:45 -07:00
losfair
e21def188e Machine state. 2019-03-28 10:17:06 +08:00
losfair
eaa161fcb4 More operations. 2019-03-28 09:03:36 +08:00
Mark McCaskey
580a153821 fix lint errors 2019-03-27 14:30:57 -07:00
Mark McCaskey
51c2111d53 pass compiler_config along to other backends 2019-03-27 14:18:34 -07:00
losfair
d9b2a2309d Emitter API. 2019-03-27 00:23:10 +08:00
Mackenzie Clark
e59e57d8a5 lint 2019-03-24 17:35:37 -07:00
Mackenzie Clark
0666a5375b add missing hashbrown dependency for dynasm 2019-03-24 17:30:10 -07:00
losfair
26e4278657 Make the internal field private from outside. 2019-03-21 08:57:50 +08:00
losfair
cb3846ff6a Add InternalCtx. 2019-03-21 08:39:06 +08:00
losfair
295efbf3a9 Fix clippy errors. 2019-03-20 01:52:00 +08:00
losfair
7ee364a58b Cargo fmt. 2019-03-19 21:31:23 +08:00
losfair
4256ccba92 Cleanup & fix need_check condition. 2019-03-19 21:30:26 +08:00