Commit graph

4184 commits

Author SHA1 Message Date
Folkert
91079d3844
wasm backend: mulWrap for i128 2023-04-27 01:20:53 +02:00
Folkert
2aca07d889
asserted restrictions have been lifted 2023-04-27 00:43:59 +02:00
Folkert
fc391b1ab2
clippy 2023-04-27 00:39:30 +02:00
Folkert
c6c28e7c5d
implement Crash 2023-04-27 00:29:21 +02:00
Folkert
f95c79bb53
copy arguments that are not size multiple of 8 2023-04-26 23:58:01 +02:00
Folkert
64130dbbbc
use bool literals for bools 2023-04-26 23:33:52 +02:00
Folkert
048615e6a5
fix wrong temp symbol used 2023-04-26 23:33:39 +02:00
Folkert
eaef21f7d4
intcast cases (probably wrong) 2023-04-26 22:26:39 +02:00
Folkert
b648507a91
128-bit value passing code 2023-04-26 22:19:47 +02:00
Folkert
f6ebeff298
unboxing of non-recursive tag unions 2023-04-26 22:17:18 +02:00
Folkert
0f058c8b46
128-bit multiplication 2023-04-26 21:58:02 +02:00
Folkert
2b849f167f
rename register function 2023-04-26 21:56:59 +02:00
Brendan Hansknecht
20bd3655c2
change wasi object file to .wasm 2023-04-26 12:51:09 -07:00
J.Teeuwissen
33b7aadd52
updated another test 2023-04-26 21:37:42 +02:00
Folkert
3ebc4bb9ad
128-bit integer equality 2023-04-26 21:11:46 +02:00
J.Teeuwissen
a7fe85bfeb
more clippy 2023-04-26 20:47:30 +02:00
J Teeuwissen
7439ee0c8c
Merge branch 'main' into drop_specialization
Signed-off-by: J Teeuwissen <jelleteeuwissen@hotmail.nl>
2023-04-26 20:26:37 +02:00
J.Teeuwissen
b0a4dd3e52
newlines 2023-04-26 20:25:15 +02:00
J.Teeuwissen
b4f65ad8cf
clippy 2023-04-26 20:23:30 +02:00
J.Teeuwissen
804e617497
undo mono unique 2023-04-26 20:17:19 +02:00
J.Teeuwissen
4de6369e6a
simplified join + mono 2023-04-26 20:11:44 +02:00
Anton-4
85dce119c7
downgrade to 1.66.1
going from 1.66.1 to 1.67.1 causes a segemntation fault in a wasm test, I expect because the size of Stmt and Expr have changed with that version.
2023-04-26 20:07:46 +02:00
Folkert de Vries
8a76937cff
Merge pull request #5322 from jarlah/replace-panic!-with-internal-error!-in-compiler-parse-create
Replace panic! with internal_error! in `compiler/parse` and `compiler/can`
2023-04-26 18:19:06 +02:00
J.Teeuwissen
74f2b0afda
Updated refcount logic 2023-04-26 18:14:16 +02:00
J.Teeuwissen
0fe94cbd90
cleanup dead code 2023-04-26 17:28:48 +02:00
Brendan Hansknecht
44a1b5d41f
fix warning when linking 2023-04-26 08:24:35 -07:00
J.Teeuwissen
ed46a1f2cb
lowlevel isUnique 2023-04-26 17:23:10 +02:00
J.Teeuwissen
2435bdb41a
added a wasm check 2023-04-26 17:21:19 +02:00
Brendan Hansknecht
b26fc9f1af
make wasm32-wasi default target given zig bug is fixed 2023-04-26 07:43:12 -07:00
Brendan Hansknecht
dd8914a75c
corret CodeGenBackend::Wasm to only be dev wasm backend 2023-04-26 07:29:32 -07:00
Folkert
2e3c915780
128-bit min/max 2023-04-26 14:39:40 +02:00
Folkert
dd85f51745
actually expose Num.rem 2023-04-26 14:32:17 +02:00
Folkert
9bdf9e4b99
make mov between different-sized registers more robust 2023-04-26 14:28:40 +02:00
Folkert
17fde9dd9d
complete unbox_to_stack 2023-04-26 14:25:00 +02:00
Folkert
43624ade27
assembly for irem and urem 2023-04-26 14:16:24 +02:00
Folkert
74444d2883
128-bit mul and shift in dev backend 2023-04-26 14:10:17 +02:00
Folkert
e8532c2f3c
rename some temporary symbol usages 2023-04-26 14:09:10 +02:00
Folkert de Vries
6d7e3ddc0c
Merge pull request #5326 from roc-lang/dev-backend-list-map
Dev backend list map
2023-04-26 14:06:23 +02:00
Folkert
312fb23567
add zig builtins for wrapped mul and shift right (for 128-bit ints) 2023-04-26 14:03:50 +02:00
J.Teeuwissen
e12730ba88
drop specialization for union 2023-04-26 13:46:14 +02:00
Brendan Hansknecht
0f4df1f677
clippy 2023-04-25 14:22:13 -07:00
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig 2023-04-25 14:14:35 -07:00
Anton-4
a97f877f85
actually use a recent nixpkgs 2023-04-25 18:38:15 +02:00
Brendan Hansknecht
e2868fa5fc
add missing import for windows 2023-04-25 09:00:56 -07:00
Brendan Hansknecht
f9f7a1a3e8
fix typo 2023-04-25 08:39:31 -07:00
Brendan Hansknecht
fbcea3f3f5
update number of relative paths to deal with tests 2023-04-25 08:32:12 -07:00
Brendan Hansknecht
d47c4616f2
switch checking for str.zig to be relative to the exectuable 2023-04-25 07:39:19 -07:00
Folkert
d56d3311d4
implement and test all regn_regn moves 2023-04-24 21:39:15 +02:00
Anton-4
36c67484b7
fix nix build 2023-04-24 16:51:47 +02:00
Anton-4
9748e4a4dc
many clippy fixes 2023-04-24 16:21:46 +02:00