Commit graph

572 commits

Author SHA1 Message Date
Richard Feldman
d9a16ff5b2
Merge pull request #2927 from rtfeldman/upgrade-target-lexicon
Upgrade target-lexicon
2022-04-23 22:09:58 -04:00
Richard Feldman
57b7832917
Upgrade target-lexicon 2022-04-23 20:51:57 -04:00
Richard Feldman
122a1d57a0
Merge remote-tracking branch 'origin/trunk' into sqrt-unchecked 2022-04-23 15:40:30 -04:00
Ayaz Hafiz
02d5cd7885
Deal with recursive pointers that pass through non-recursive layouts 2022-04-22 17:57:01 -04:00
Kevin Gillette
d236c28743
Merge branch 'trunk' into sqrt-unchecked 2022-04-18 19:12:22 -06:00
Kevin Gillette
9ed4ca9739
remove Num.mod and Num.modUnchecked 2022-04-18 13:54:40 -06:00
Kevin Gillette
1908ff41c3
rem, sqrt, log are unchecked but have checked variants
mod exists but is not implemented due to lack of hardware support
(emulation, possibly in terms of rem, is needed).
2022-04-17 14:40:39 -06:00
Folkert
e112f6ad2c
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-04-16 21:01:51 +02:00
Richard Feldman
be725d6421 Revert changes to IR filenames 2022-04-14 10:55:25 -04:00
Richard Feldman
412eb763bb
Add support for x64 linux 2022-04-13 01:21:12 -04:00
Richard Feldman
c7f5beb0ad
Rename generated .bc files to have target triples 2022-04-13 01:21:12 -04:00
Folkert
1d0f9e9192
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-04-08 15:47:11 +02:00
Richard Feldman
bfb7bb3874
Update comment 2022-04-07 18:36:33 -04:00
Richard Feldman
a4233ad661
Add LLVM implementation for toF32/64 2022-04-07 16:13:58 -04:00
Richard Feldman
cd00a98636
Add toF32/64 and checked versions 2022-04-07 16:13:57 -04:00
Richard Feldman
b35cc6ac8c
Merge pull request #2795 from rtfeldman/i/2582
Deal with fastcc return-by-pointer convention correctly
2022-04-04 20:14:49 -04:00
Ayaz Hafiz
0f0e56a21c
Deal with fastcc return-by-pointer convention correctly
Closes #2582
2022-04-04 16:33:01 -04:00
Folkert
68536e4026
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-04-04 19:55:04 +02:00
Folkert
1e397e950d
changes after review 2022-04-04 19:53:33 +02:00
Brendan Hansknecht
19c02aa087
Merge pull request #2789 from rtfeldman/atomic-rc
Use zig for all refcounts and add atomic support
2022-04-03 22:23:28 +00:00
Brendan Hansknecht
eea8eeb1b6 clippy 2022-04-01 15:14:30 -07:00
Brendan Hansknecht
577282ced3 have zig allocate all refcounts 2022-04-01 14:06:28 -07:00
Brendan Hansknecht
ef49d5714b change incref to use the zig builtin 2022-04-01 13:41:46 -07:00
Folkert
426aa13e13
fix merge error 2022-03-31 21:09:55 +02:00
Folkert
2c8d58329c
formatting 2022-03-31 19:42:43 +02:00
Folkert
0dd2cec09a
update with new clippy lints 2022-03-31 19:34:51 +02:00
Folkert
f9f3a255a9
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-31 19:19:36 +02:00
Folkert
61aeaefc76
a start with 32-bit linux support 2022-03-30 23:55:34 +02:00
Folkert
108f2142ba
clippy 2022-03-30 19:23:51 +02:00
Folkert
786246f427
when doing a memcpy, don't take alignment into account 2022-03-30 19:20:53 +02:00
Folkert
e13ea55004
use roc_load_value to move a value to the stack 2022-03-30 19:16:10 +02:00
Folkert
49f624a27a
use store_roc_value when inserting into dict 2022-03-30 19:15:39 +02:00
Folkert
85bf881b3b
make Dict.keys and Dict.values use list helpers for returning 2022-03-30 19:14:52 +02:00
Folkert
4426f5793b
rename a function 2022-03-30 19:08:09 +02:00
Folkert
972c5d78d3
use roc_ helpers for box loading and storing 2022-03-30 19:07:55 +02:00
Folkert
59a2253b9a
rework how tags are created 2022-03-30 19:07:40 +02:00
Folkert
3cc96e76dc
preparation for using argument_type_from_layout 2022-03-30 19:07:20 +02:00
Folkert
94b5abf2ce
fix spelling 2022-03-30 17:43:11 +02:00
Folkert
8eff983e53
clippy 2022-03-30 17:37:06 +02:00
Folkert
1b29aa3e43
when doing a memcpy, don't take alignment into account 2022-03-30 17:33:43 +02:00
Folkert
20104a1159
propagate attributes from builtins to call sites 2022-03-30 17:32:48 +02:00
Folkert
fd209f90ff
fix bug where incorrect stack size is given 2022-03-30 17:25:28 +02:00
Folkert
c73c01aa34
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-30 14:07:17 +02:00
Folkert
14accf4589
clippy 2022-03-27 16:22:46 +02:00
Folkert
13ab2010f0
patch List.countGraphemes and List.isEmpty with the byval() attribute 2022-03-27 16:20:46 +02:00
Folkert
dd84517f5f
revert to older constant string approach 2022-03-26 20:59:18 +01:00
Folkert
97b64a90a4
hacky fix to make llvm + standard linker work 2022-03-26 19:05:28 +01:00
Folkert
47cb6d9621
clippy 2022-03-26 18:53:21 +01:00
Folkert
79dfd23513
stop zeroing out alloca's 2022-03-26 18:51:54 +01:00
Folkert
75ab8afc2b
remove optimization when values move between pointers, it was unsound (see comment in source) 2022-03-26 18:50:56 +01:00