Commit graph

3914 commits

Author SHA1 Message Date
Folkert
312fb23567
add zig builtins for wrapped mul and shift right (for 128-bit ints) 2023-04-26 14:03:50 +02:00
Folkert
d56d3311d4
implement and test all regn_regn moves 2023-04-24 21:39:15 +02:00
Folkert
2e41ef68b0
cleanup 2023-04-23 20:23:35 +02:00
Folkert
b663db56f0
NumIntCast 2023-04-23 19:58:46 +02:00
Folkert
af2ab24525
simplify and fully implement comparisons 2023-04-23 19:58:31 +02:00
Folkert
cefc1c775e
add NumAddWrap 2023-04-23 18:47:50 +02:00
Folkert
8162de7eab
implement code_gen_help equality in the dev backend 2023-04-23 18:47:40 +02:00
Folkert
d99a912230
don't attempt tail recursion in dev backend 2023-04-23 18:47:17 +02:00
Folkert
dd3d0a188e
string is empty for dev backend 2023-04-23 18:16:08 +02:00
Folkert
f45e4ed858
implement Num.toStr for the dev backend 2023-04-23 18:04:34 +02:00
Folkert
f7e3254a35
unwrap lamda set to runtime representation 2023-04-23 17:56:23 +02:00
Folkert
9e2051670f
implement unboxing to the stack 2023-04-23 17:56:02 +02:00
Folkert
b59ada4bc8
implement List.map in the dev backend 2023-04-23 17:35:17 +02:00
Folkert
b62ee37d8e
fix BOOL_TRUE and BOOL_FALSE 2023-04-23 17:31:52 +02:00
Folkert
be31bc5c41
add the PtrWrite lowlevel 2023-04-23 15:19:46 +02:00
Folkert
c22f33ec8a
add support for getting a function pointer from a function symbol 2023-04-23 15:17:49 +02:00
Folkert
5a297248e2
add support for the LEA instruction 2023-04-23 15:16:06 +02:00
Folkert
394495d307 Revert "update size asserts"
This reverts commit 9973d4b8d2.
2023-04-21 13:22:23 +02:00
Folkert
7af408f58d split cmd args 2023-04-21 12:10:23 +02:00
Folkert
4cd8f0a056 clippy --fix fixes 2023-04-21 12:05:51 +02:00
Folkert
9973d4b8d2 update size asserts 2023-04-21 11:57:47 +02:00
Ayaz Hafiz
7797412aef
Drop unused functions 2023-04-20 17:57:18 -05:00
Ayaz Hafiz
721d3836cd
Migrate even more tests 2023-04-20 16:18:23 -05:00
Ayaz Hafiz
7c14b78e5d
Migrate more tests 2023-04-20 16:18:23 -05:00
Ayaz Hafiz
9775d4f0ca
Move uitests 2023-04-20 16:18:23 -05:00
Brendan Hansknecht
26846e14aa
Merge pull request #5289 from Aurelius333/aarch64-float
Add some aarch64 gen_dev float instructions
2023-04-20 18:18:56 +00:00
Folkert de Vries
8c32900e19
Merge pull request #5275 from wontem/abs_diff
Implement Num.absDiff
2023-04-20 14:02:02 +02:00
Kiryl Dziamura
2633e7ed8f
Disable 128 bit test for wasm 2023-04-20 11:55:42 +02:00
Kiryl Dziamura
e8b1d3fa24
Disable backend dev tests 2023-04-20 11:55:41 +02:00
Kiryl Dziamura
f1564458a3
Format roc 2023-04-20 11:55:40 +02:00
Ajai Nelson
e6de71ccfb
Use cast instead of .try_into().unwrap() 2023-04-20 01:05:38 -04:00
Ajai Nelson
3dbec4760b
Fix clippy warnings 2023-04-19 19:03:25 -04:00
Ajai Nelson
f3d85bce3c
Fix badly indented comments 2023-04-19 18:53:48 -04:00
Ajai Nelson
4d7a85070e
Use existing FloatWidth enum instead of FloatType 2023-04-19 18:53:48 -04:00
Ajai Nelson
69dad4c3bf
Add doc comments 2023-04-19 18:53:48 -04:00
Ajai Nelson
dbf85e5461
Add comments about floating point instructions at bottom 2023-04-19 18:53:48 -04:00
Ajai Nelson
d8f1310ce1
Add aarch64 to_float conversions 2023-04-19 18:53:47 -04:00
Ajai Nelson
61148d1eca
Inline encode functions 2023-04-19 18:53:47 -04:00
Ajai Nelson
ec14c9a9f1
Add immediate operation for setting floats to 0.0 2023-04-19 18:53:47 -04:00
Ajai Nelson
616b45f366
Add aarch64 fmov immediate 2023-04-19 18:53:47 -04:00
Ajai Nelson
d3962592cb
Add aarch64 mov_freg64_freg64 2023-04-19 18:53:46 -04:00
Ajai Nelson
2501260eb7
Add some aarch64 gen_dev float instructions 2023-04-19 18:53:46 -04:00
Richard Feldman
ef5c4735fb
Merge pull request #5258 from JTeeuwissen/Frame-Limited
Perceus style reference counting with frame limited reuse.
2023-04-19 12:38:11 -04:00
Folkert
fa6d5c6955
fix ptr returned by wasm reset 2023-04-18 21:59:13 +02:00
Folkert
cabbfa52d5
fix alignment calculation in wasm reset 2023-04-18 21:59:13 +02:00
Anton-4
bd6ae25cbc
remove undefined -dynamic_lookup
350845837

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 19:41:01 +02:00
Anton-4
5f2d550c3d
fmt
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 17:58:11 +02:00
Anton-4
a99aba7da4
try leaving out no_fixup_chains ld arg
350816436

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-18 17:52:34 +02:00
J.Teeuwissen
af3c4f01da
fix folkert NumSubSaturated 2023-04-18 13:59:06 +02:00
J.Teeuwissen
03149dfd89
match 2023-04-18 07:22:47 +02:00