Commit graph

34 commits

Author SHA1 Message Date
Anton-4
314503cf7f fixed typos, added typos checking to CI 2021-06-05 20:02:54 +02:00
Richard Feldman
2909c06e72 Add tail_call to ASM trait 2021-05-24 21:41:37 -04:00
Richard Feldman
595c704e88 Generate roc_alloc etc in dev_num tests 2021-05-24 21:36:27 -04:00
Richard Feldman
b3758727e5
Merge branch 'trunk' into gen-dev/div-i64 2021-05-17 00:04:14 -04:00
rvcas
388caf9460 feat(gen_dev): Backend64
implement build_num_abs_f64 for generic 64 bit archs
2021-05-16 19:17:00 -04:00
rvcas
65cc9b54fa feat(gen_dev): add method to Assembler trait 2021-05-16 19:16:01 -04:00
Brendan Hansknecht
69c2b3527c Add i64 multiplication to dev backend 2021-05-15 15:04:49 -07:00
Folkert
c1d0af5b39 make things compile/run 2021-03-09 20:19:34 +01:00
Brendan Hansknecht
a783be3332 gen_dev: add switch statements. This also fixes a small bug with comparisons. 2021-02-13 15:35:55 -08:00
Brendan Hansknecht
95be1a1b6d gen_dev: add ability to pass arguments to functions 2021-02-12 19:32:34 -08:00
Brendan Hansknecht
5a3ec0c0ac Switch to base pionter offset addressing.
This change will be needed to deal with passing function arguments.
Without this change, we would need to do multiple passes due to function
arguments being on top of the stack and conflicting with variables.
2021-02-12 17:02:25 -08:00
Brendan Hansknecht
846c82961f gen_dev: add basic function support 2021-02-10 22:38:58 -08:00
Brendan Hansknecht
9032c8c43b Expand register names for more readability 2021-01-21 21:14:21 -08:00
Brendan Hansknecht
5cabdd83b0 Merge remote-tracking branch 'origin/trunk' into dev-backend 2021-01-21 21:01:10 -08:00
Brendan Hansknecht
244113ede2 Add floating point addition 2021-01-19 15:25:21 -08:00
Sébastien Besnier
1ee2c7a40f add equality testing in gen_dev 2021-01-19 15:08:03 +01:00
Brendan Hansknecht
7f8511532a Add floats to the dev backend 2021-01-18 12:07:47 -08:00
Brendan Hansknecht
2561620c18 Merge remote-tracking branch 'origin/trunk' into dev-backend 2021-01-16 17:09:56 -08:00
Sébastien Besnier
dfed317f8e add x86_64 subtraction support for gen_dev 2021-01-13 20:56:33 +01:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
Brendan Hansknecht
4d90ffb686 Fix typo 2020-12-28 11:39:47 -08:00
Brendan Hansknecht
be979b4218 Add immediate addition and subtraction for AArch46 2020-12-01 18:29:10 -08:00
Brendan Hansknecht
f9d571ebc2 Always inline assembly functions and calling conventions 2020-11-30 23:35:23 -08:00
Brendan Hansknecht
ce55313515 Add AArch64 dev backend frame 2020-11-29 18:23:00 -08:00
Brendan Hansknecht
eb8ec4a08d Reorginize assembler to be more risc friendly 2020-11-27 20:38:40 -08:00
Brendan Hansknecht
75a4a728aa Shorten asm function names 2020-11-27 19:53:18 -08:00
Brendan Hansknecht
04cd953246 Revamp stack setup and clean. This will be needed for other 64bit backends 2020-11-27 19:46:49 -08:00
Brendan Hansknecht
6a95738b1c Properly align the stack when used 2020-11-26 15:14:53 -08:00
Brendan Hansknecht
c32cedc1bd Switch to constants in calling conventions and inline assembly 2020-11-25 23:43:43 -08:00
Brendan Hansknecht
2decae8006 Fix typo 2020-11-25 22:38:04 -08:00
Brendan Hansknecht
bd8046056f Fix not leaf function 2020-11-23 22:18:52 -08:00
Brendan Hansknecht
09410d7a02 Rename ret_near to ret and temporarily allow dead relocations 2020-11-23 22:09:44 -08:00
Brendan Hansknecht
67c104d506 Nit clippy stuff 2020-11-23 00:17:57 -08:00
Brendan Hansknecht
3430a08d3d Major refactor for generic 64 bit with traits 2020-11-23 00:16:42 -08:00
Renamed from compiler/gen_dev/src/x86_64/mod.rs (Browse further)