Commit graph

189 commits

Author SHA1 Message Date
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
Folkert
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Folkert
55eff1dba1 fix oversights 2021-01-28 15:32:22 +01:00
Folkert
936bf459eb initial version of rc optimization 2021-01-28 13:14:54 +01:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Richard Feldman
427ff12950
Merge branch 'trunk' into dev-backend 2021-01-25 00:56:14 -05:00
Chadtech
ec7d8e0dc9 Bringing in Trunk and resolving conflict 2021-01-23 21:23:31 -05: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
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Folkert
15cbadf652 add inc field to Inc instruction 2021-01-22 00:16:20 +01:00
Brendan Hansknecht
244113ede2 Add floating point addition 2021-01-19 15:25:21 -08:00
Sébastien Besnier
3c5549072c add tests for SETE instruction 2021-01-19 18:32:45 +01:00
Sébastien Besnier
1ee2c7a40f add equality testing in gen_dev 2021-01-19 15:08:03 +01:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Brendan Hansknecht
71b7ee7fab Fix test with large float 2021-01-18 12:25:50 -08:00
Brendan Hansknecht
108dfb758e Add floats literal loading tests to dev backend 2021-01-18 12:11:13 -08:00
Brendan Hansknecht
7f8511532a Add floats to the dev backend 2021-01-18 12:07:47 -08:00
Brendan Hansknecht
eecdc7ff85 Add a lot of general information on the dev backend 2021-01-17 10:09:34 -08:00
Brendan Hansknecht
ea3d7cfd3f Small todo update 2021-01-16 17:10:37 -08:00
Brendan Hansknecht
2561620c18 Merge remote-tracking branch 'origin/trunk' into dev-backend 2021-01-16 17:09:56 -08:00
Folkert
ab6cb7ac93 pass stdlib by reference 2021-01-14 16:49:55 +01:00
Sébastien Besnier
85f146c688 fix extra space in comment 2021-01-14 07:59:26 +01:00
Sébastien Besnier
1961cf771a fix subtraction error implementation 2021-01-13 21:18:59 +01:00
Sébastien Besnier
dfed317f8e add x86_64 subtraction support for gen_dev 2021-01-13 20:56:33 +01:00
Folkert
78f653b85c fix typo 2021-01-07 23:19:17 +01:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
rvcas
a123bfa3ee fix: tests compile and repl_eval 2021-01-04 09:46:10 -05:00
Folkert
6e0f57d7eb make invoke work 2021-01-02 00:55:09 +01:00
Folkert
6eb8684c2b basic implementation of invoke for gen_dev 2021-01-01 20:27:08 +01:00
Folkert
5a6bd1e187 fix gen_dev 2021-01-01 16:20:27 +01:00
Folkert
6bc0cf33a5 add unreachable instruction to the mono IR 2021-01-01 02:26:56 +01:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
Folkert
728298d15a automatic clippy fixes 2021-01-01 00:05:45 +01:00
Folkert
288190281b remove Cond from gen_dev 2020-12-31 21:03:58 +01:00
Brendan Hansknecht
4d90ffb686 Fix typo 2020-12-28 11:39:47 -08:00
Brendan Hansknecht
f6dc256cad Add simple high level todo list for dev backend 2020-12-23 09:44:40 -08:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Folkert
7919b2eef3 clippy 2020-12-06 22:16:53 +01:00
rvcas
79cce7c5c9 Merge branch 'trunk' into task_can 2020-12-03 19:05:10 -05:00
rvcas
4f19eedce4 chore: comment out unused stuff to reduce noise 2020-12-01 23:02:25 -05:00
Brendan Hansknecht
dcb4660273 properly add target features 2020-12-02 03:08:04 +00:00
Brendan Hansknecht
f9343ce070 Keep aarch64 tests disable 2020-12-01 18:42:59 -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
fd77d92851 Add AArch64 stack operations 2020-11-30 22:16:38 -08:00
Brendan Hansknecht
dbf335a79d Add AArch64 to dev backend object generation 2020-11-30 02:47:18 +00:00