Commit graph

4345 commits

Author SHA1 Message Date
Brendan Hansknecht
ebc6bd3f45
add more impls and memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
0e2c3e4723
add actual folly implementation of memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
77624f627b
better extract musl lib 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
159f95aad1
add musl memcpy and avx2 dispatching 2023-06-02 15:23:04 -07:00
Brendan Hansknecht
ca9938bf7c
add memcpy impl to builtins 2023-06-02 15:23:04 -07:00
Brendan Hansknecht
58067f936a
Merge pull request #5466 from KilianVounckx/list-update
Add List update function
2023-06-02 09:03:22 +00:00
Kilian Vounckx
7f5e6299ab
Generate tests 2023-06-01 18:40:31 +02:00
Folkert de Vries
e59404b6fa
Merge pull request #5495 from roc-lang/dev-backend-nullable-wrapped
Dev backend nullable wrapped
2023-06-01 17:11:14 +02:00
Brendan Hansknecht
121d15a2a6
Merge pull request #5423 from roc-lang/dev-backend-linked-list
Dev backend linked list
2023-06-01 13:59:28 +00:00
KilianVounckx
8b85f966fd
Merge branch 'roc-lang:main' into list-update 2023-06-01 11:16:33 +02:00
Folkert de Vries
6d6e3b9c60
Merge pull request #5496 from roc-lang/remove-libc-instrinsic
Stop using llvm instrinsics that just call libc
2023-06-01 10:46:27 +02:00
Brendan Hansknecht
7683c5ae53
Stop using llvm instrinsics that just call libc
In a future PR. I will change zig to insure that all of these instrinsics
use musl directly and do not call out to the linked libc.
2023-05-31 20:00:04 -07:00
Folkert
f6fafdb019
nullable unwrapped for the dev backend 2023-06-01 00:02:38 +02:00
Folkert
0adf075123
make bool intern with semanctis 2023-05-31 23:59:40 +02:00
Folkert
f1375b27cc
fix mono tests, again 2023-05-31 23:59:26 +02:00
Folkert
4af9788b51
fix register logic bug in reset/reuse 2023-05-31 23:57:38 +02:00
Folkert
0ace44ae8c
implement reset/reuse in the dev backend 2023-05-31 23:57:38 +02:00
Folkert
f609ec68fc
update mono tests?! 2023-05-31 23:57:38 +02:00
Folkert
dfed7b95e6
enable more tests 2023-05-31 23:57:37 +02:00
Folkert
8833096a07
clippy 2023-05-31 23:57:37 +02:00
Folkert
c24312a045
fix logic error 2023-05-31 23:57:37 +02:00
Folkert
58d4ae91d2
clippy 2023-05-31 23:57:36 +02:00
Folkert
e33c2b3c84
first working linked list test 2023-05-31 23:57:36 +02:00
Folkert
3364d03fcc
fix debug asserts in dev backend 2023-05-31 23:57:36 +02:00
Folkert
97aba2da41
add static offset to ptr read 2023-05-31 23:57:35 +02:00
Tero Laxström
17be5a6fd1
Fix typo in gen-dev for float_add_overflow test 2023-05-31 20:52:10 +03:00
Anton-4
f6b76f2df5
Num.exp is Num.pow now
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-31 15:28:31 +02:00
Anton-4
0c50ee0458
Merge pull request #5485 from roc-lang/manual-compiler-rt
Add all fns in compiler-rt that builtins are known to depend on
2023-05-31 10:59:09 +02:00
Brendan Hansknecht
e7906b30a9
add other compiler-rt functions in builtins.o 2023-05-30 14:38:10 -07:00
Brendan Hansknecht
fe4577ce4c
fix typo 2023-05-30 09:38:30 -07:00
Brendan Hansknecht
81e8812f38
Add all fns in compiler-rt that builtins are known to depend on
Also removes the workaround in the surigical linker.
This should mean we should get clear errors if we missed a function instead of crashes/segfaults.
2023-05-30 09:21:59 -07:00
Ayaz
be077ed046
Merge pull request #5130 from roc-lang/big-compiler-doc
Compiler design overview doc
2023-05-30 10:40:15 -05:00
J.Teeuwissen
162e6bbb90
manual default 2023-05-30 11:01:13 +02:00
J.Teeuwissen
f0addf5300
feedback 2023-05-30 10:55:38 +02:00
J.Teeuwissen
93ea086115
Merge branch 'main' into record-update-index-top 2023-05-30 10:47:19 +02:00
Kilian Vounckx
d43a78d000
Add update to symbols table and auto generate test_mono 2023-05-30 09:07:15 +02:00
KilianVounckx
c22a9ef8b5
Merge branch 'roc-lang:main' into list-update 2023-05-30 08:54:26 +02:00
Folkert de Vries
ef05ec6906
Merge pull request #5452 from JTeeuwissen/save-construction-children
Add construction (Struct/TagId/List/Box) to known parent/child relations
2023-05-29 22:21:44 +02:00
Brendan Hansknecht
fa57788c09
Merge pull request #5460 from roc-lang/dict-tuple
switch Dict to real tuples
2023-05-29 15:00:38 +00:00
J.Teeuwissen
9f23c3d26a
Feedback 2023-05-29 16:38:34 +02:00
J.Teeuwissen
b7a7a735fc
keep inc env always, but set count to 0. 2023-05-29 12:09:18 +02:00
J.Teeuwissen
079290dcaf
Keep 0 in counting map 2023-05-29 10:54:09 +02:00
KilianVounckx
9cc2caa08d
Merge branch 'roc-lang:main' into list-update 2023-05-29 10:20:19 +02:00
Kilian Vounckx
8371c060a0
Expose update function 2023-05-29 10:14:01 +02:00
J.Teeuwissen
e29af85dcf
Fixed tests 2023-05-29 08:39:59 +02:00
J.Teeuwissen
c3e1e600a6
Merge branch 'main' into save-construction-children 2023-05-29 08:02:34 +02:00
Brendan Hansknecht
0e28423aea
fix segfault in Num.toStr for Dec 2023-05-28 20:37:32 -07:00
Brendan Hansknecht
6149e721f6
fix main by adding missing match branches 2023-05-28 20:29:10 -07:00
J.Teeuwissen
dbebaf17a6
using CountingMap for children 2023-05-28 23:10:24 +02:00
J.Teeuwissen
8f022d4310
fixed specialisation box 2023-05-28 21:18:28 +02:00