Commit Graph

470 Commits

Author SHA1 Message Date
ptitSeb
7771fabe69 improvement(compiler) Remove CombinedRegister from Machine 2021-12-06 17:59:14 +01:00
ptitSeb
517f81b302 improvement(compiler) More x86_64 speicific code removed from CodeGen 2021-12-06 15:38:07 +01:00
ptitSeb
5ed8fbfbcb Fixed linting 2021-12-03 18:57:38 +01:00
ptitSeb
049a1f7d5c improvement(compiler) Fixed some of the later refactoring of memory_op 2021-12-03 18:53:03 +01:00
ptitSeb
5164cb90d2 improvement(compiler) refactored non-atomic load and store Operator 2021-12-03 17:51:40 +01:00
ptitSeb
19691f6fc2 improvement(compiler) refactored atomic cmpxchg again 2021-12-03 17:51:40 +01:00
ptitSeb
6817a2df07 improvement(compiler) refactored atomic exchange again 2021-12-03 17:51:40 +01:00
ptitSeb
d39e7656ef improvement(compiler) refactored atomic access again 2021-12-03 17:51:40 +01:00
ptitSeb
b100880348 improvement(compiler) fix test for machine_x86 2021-12-03 17:51:40 +01:00
ptitSeb
3c2e0ea09f improvement(compiler) fix merge issues 2021-12-03 17:51:40 +01:00
ptitSeb
5660c0935d improvement(compiler) abstraction of logic and math atomic operators 2021-12-03 17:51:40 +01:00
ptitSeb
d49bc4d9b6 improvement(compiler) abstraction of native calls 2021-12-03 17:51:40 +01:00
ptitSeb
dccc6bfa76 improvement(compiler) abstraction of remaining i64 Operators 2021-12-03 17:51:40 +01:00
ptitSeb
f1244acb2c improvement(compiler) abstraction of remaining i32 Operators 2021-12-03 17:51:40 +01:00
ptitSeb
e430851b05 improvement(compiler) abstraction of F64/F32 add/sub/mul/div operators 2021-12-03 17:51:40 +01:00
ptitSeb
c247bf3533 improvement(compiler) abstraction of F32 min/max operators 2021-12-03 17:51:40 +01:00
ptitSeb
cf3eea1f91 improvement(compiler) abstraction of more F32/F64 comparaisons 2021-12-03 17:51:40 +01:00
ptitSeb
a60dda964c improvement(compiler) abstraction of more F32/F64 coversion and operations... 2021-12-03 17:51:40 +01:00
ptitSeb
232a9c044b improvement(compiler) abstraction of Operator I32Convert* and I64Convert* 2021-12-03 17:51:40 +01:00
ptitSeb
8b9535b21e improvement(compiler) abstraction of Operator F32Convert* 2021-12-03 17:51:40 +01:00
ptitSeb
e84ba7a2c7 improvement(compiler) abstraction of Operator F64Convert* 2021-12-03 17:51:40 +01:00
ptitSeb
2b9918894c improvement(compiler) abstraction of Operator Call 2021-12-03 17:51:40 +01:00
ptitSeb
9d751a7117 improvement(compiler) abstraction of Operator CallIndirect 2021-12-03 17:51:40 +01:00
ptitSeb
052351bc7a improvement(compiler) abstraction of Operator Return, Br, BrIf and BrTable 2021-12-03 17:51:40 +01:00
ptitSeb
5ae9c0fdb9 improvement(compiler) abstraction of canonicalization and Operator::End 2021-12-03 17:51:40 +01:00
ptitSeb
0c0d4372ee improvement(compiler) abstraction of relaxed move with zero or sign extension 2021-12-03 17:51:40 +01:00
ptitSeb
5b64a392e2 improvement(compiler) abstraction of atomic store (and a bunch of relaxed opcode too) 2021-12-03 17:51:40 +01:00
ptitSeb
3736eeaae8 improvement(compiler) abstraction of lock add/sub in codegen 2021-12-03 17:51:40 +01:00
ptitSeb
36f947c671 improvement(compiler) abstraction of lock + logic in codegen 2021-12-03 17:51:40 +01:00
ptitSeb
6a33200218 improvement(compiler) abstraction of emit_memory_op 2021-12-03 17:51:40 +01:00
ptitSeb
ace5d51eb5 improvement(compiler) More work on codegen abstraction (atomic xchg) 2021-12-03 17:51:40 +01:00
ptitSeb
443d16ab2b improvement(compiler) More work on codegen abstraction (atomic cmpxchg) 2021-12-03 17:51:40 +01:00
ptitSeb
6c9be49ec9 improvement(compiler) start to make codegen independant from arch (WIP) 2021-12-03 17:51:40 +01:00
ptitSeb
633896e56e improve(compiler) Abstracted Machine on SinglePass (still need more absatraction) 2021-12-03 17:51:40 +01:00
ptitSeb
45261a76d9 Abstraction for CombinedRegister 2021-12-03 17:51:40 +01:00
ptitSeb
17ccce9da5 Move Size enum to common_decl 2021-12-03 17:51:40 +01:00
ptitSeb
9710ab8b84 fixed lint 2021-12-03 13:30:08 +01:00
ptitSeb
235b30930b feat(compiler) Created abstraction for Reg and Location 2021-12-03 13:29:15 +01:00
Amanieu d'Antras
c650ffea33 Version 2.1.0 2021-11-30 23:46:54 +00:00
Amanieu d'Antras
a1c998c895 Fix compiler warning in singlepass 2021-11-23 16:13:09 +00:00
Amanieu d'Antras
cb88b6db62 Avoid depending on the host target in compilers 2021-11-23 15:19:32 +00:00
Bo Yao
efb1f745bd cargo fmt --all 2021-11-16 12:42:46 +08:00
Bo Yao
ff3b459e5b fix 2021-11-15 15:34:48 +08:00
Bo Yao
a925e0a674 fix slow compilation by using dynasm VecAssembler 2021-11-15 10:39:52 +08:00
Amanieu d'Antras
6a0b381763 Support 32-bit memories with 65536 pages
Fixes #2187
2021-11-10 14:49:32 +00:00
Aleksey Kladov
2fe1b58a3d fix cross-compilation with singlepass compiler 2021-10-25 15:29:26 +03:00
ptitSeb
44eef4964a feat(compiler) Fixed single-pass build 2021-10-05 14:19:08 +02:00
ptitSeb
d11ef79086 Fix linting 2021-09-17 11:36:32 +02:00
ptitSeb
45f56d00c0 feat(compiler) Windows ABI needs RSI and RDI to be saved.So save them uncoditionnaly for now 2021-09-17 11:30:11 +02:00
ptitSeb
9c9c0beb6b feat(compiler) Adjust test for unsupported platforms 2021-09-16 12:16:18 +02:00