Commit graph

4184 commits

Author SHA1 Message Date
Ajai Nelson
c71d7bb648
Simplify aarch64 mov_reg64_reg64 by delegating to orr_reg64_reg64_reg64 2023-04-09 14:11:59 -04:00
Ajai Nelson
ca0ef8f88f
Add structs to make new method parameters more readable in aarch64 2023-04-09 14:07:25 -04:00
Folkert de Vries
6b72139cda
Merge pull request #5268 from roc-lang/towards-dev-glue
More dev backend tag union fixes
2023-04-09 19:34:57 +02:00
Ajai Nelson
260c080d41
Fix clippy warnings 2023-04-09 13:02:27 -04:00
Ajai Nelson
5f831b6f50
Add aarch64 signed_compare_reg64 and unsigned_compare_reg64 2023-04-09 13:02:19 -04:00
Ajai Nelson
f9e31b828b
Merge branch 'main' into more-dev-aarch64-instructions
Fix merge conflict with fdffcc8b36:
- Add unused _register_width arguments
- Delete comparison functions,
  add empty signed_compare_reg64 and unsigned_compare_reg64 functions
2023-04-09 13:01:51 -04:00
Folkert
649b2775b2
enable more gen_tags tests 2023-04-09 18:27:40 +02:00
Folkert
d4bb5053b8
make function names unique by adding layout hash 2023-04-09 18:18:39 +02:00
Jonas Schell
399543a730 use qualified imports for json example 2023-04-09 17:38:21 +02:00
Folkert
c36a82d134
fix return type/CC issue 2023-04-09 16:52:53 +02:00
Folkert
9f8fb61281
fix assert 2023-04-09 16:49:19 +02:00
Folkert
cd95920d60
implement passing of non-recursive tag unions to functions 2023-04-09 15:15:56 +02:00
Folkert
679337e4c4
fix alignment issue in union creation 2023-04-09 15:13:24 +02:00
Folkert
2a4c4f0403
enable more tag dev tests 2023-04-09 14:46:53 +02:00
Folkert
079dd4c51e
ensure literal loading happens independently in branches 2023-04-09 14:41:16 +02:00
Luke Boswell
3e562eb359
roc format 2023-04-09 18:34:56 +10:00
Luke Boswell
ed618fbbf4
add docs for Decode 2023-04-09 18:27:11 +10:00
J.Teeuwissen
705ad1c796
symbol_to_doc 2023-04-09 09:43:52 +02:00
Brendan Hansknecht
f79ef07012
Merge pull request #5263 from yukiomoto/fix-dec-div
Fix dec division problem
2023-04-09 04:00:31 +00:00
Yuki Omoto
7ef166a11f
remove wrong subtraction in dec div 2023-04-09 11:34:24 +09:00
Folkert de Vries
45769b9044
Merge pull request #5262 from roc-lang/dev-backend-tags
dev backend: make more gen_tags tests pass
2023-04-08 21:17:58 +02:00
Yuki Omoto
f57085da05
refactor dec div 2023-04-09 03:52:17 +09:00
Folkert
67281b2712
handle lambda set when passed as a function argument 2023-04-08 20:14:15 +02:00
Folkert
fdffcc8b36
handle all comparison widths 2023-04-08 19:17:11 +02:00
Yuki Omoto
219e72ff20
Fix dec division problem
Fixed dec division that envolves a number that has a hi word greater than
0 when converted into `U256` like `341dec / 341`.

This commit resolves #5259
2023-04-09 00:00:06 +09:00
Folkert
9dd69f6f9c
Revert "WIP fix for zig functions returning Bool (strEqual)"
This reverts commit 09b01893c6.
2023-04-08 16:56:25 +02:00
Folkert
09b01893c6
WIP fix for zig functions returning Bool (strEqual) 2023-04-08 16:11:04 +02:00
Folkert
b54912b79b
handle lambda set in a couple more cases 2023-04-08 16:10:38 +02:00
Folkert
751e7fbf1e
enable more tag dev tests 2023-04-08 14:12:37 +02:00
Ayaz
e5d13bfc22
Merge pull request #5260 from roc-lang/subs-occur-cache
Do not revisit variables in an occurs check
2023-04-08 07:12:03 -05:00
Folkert
45ac4cd46e
enable more tag dev tests 2023-04-08 13:35:04 +02:00
Folkert
ab2cc76717
special-case true/false loading 2023-04-08 13:30:35 +02:00
Folkert
b982d1a442
enable more tag dev tests 2023-04-08 13:17:23 +02:00
Folkert
a7aa9530b6
load literal symbols when inserting a jump 2023-04-08 13:15:22 +02:00
Folkert
aa54033dd2
enable more tag dev tests 2023-04-08 13:02:24 +02:00
Folkert
1947bbcd0e
encode Bool.true/Bool.false more intelligently 2023-04-08 12:57:52 +02:00
J.Teeuwissen
499f689226
Merge branch 'main' into Frame-Limited 2023-04-08 09:33:12 +02:00
J.Teeuwissen
b39699b1e8
fmt 2023-04-08 09:32:19 +02:00
Ayaz Hafiz
4d789cd0c6
Get content unchecked in occurs check 2023-04-07 20:24:04 -05:00
Ayaz Hafiz
e6be13052b
Correct order of cached occurs check 2023-04-07 20:19:58 -05:00
Ajai Nelson
d30fdb9a8f
Add aarch64 instruction doc comments 2023-04-07 01:00:42 -04:00
Ayaz Hafiz
a816f8bc83
Do not revisit variables in an occurs check
Turns out this mark cache check is unreasonably effective, even if it
is naive.
2023-04-06 14:42:31 -05:00
J.Teeuwissen
643dc6614d
clippy 2023-04-06 18:46:32 +02:00
J.Teeuwissen
5a6ac082f0
Updated test 2023-04-06 18:14:04 +02:00
J.Teeuwissen
4f3f3caff3
Cleanup 2023-04-06 10:41:05 +02:00
J.Teeuwissen
d806ddd190
use borrow borrow signature 2023-04-06 10:38:51 +02:00
J.Teeuwissen
c44da622e5
non mut layout interner 2023-04-06 10:32:50 +02:00
Folkert
92c2931678
make all glue tests run! 2023-04-05 23:19:17 +02:00
J.Teeuwissen
a8bd20da5c
Updated tests 2023-04-05 21:09:42 +02:00
J.Teeuwissen
977e19971f
Foreing borrowed 2023-04-05 21:00:29 +02:00