Commit graph

613 commits

Author SHA1 Message Date
Folkert
09779f65ad
add NullPointer to mono::ir::Expr 2023-03-30 20:18:04 +02:00
J.Teeuwissen
d4ed6f7778
start resetref 2023-03-29 11:57:13 +02:00
Ajai Nelson
e6026ec1f9
Allow dead code for ConditionCode 2023-03-23 00:33:55 -04:00
Ajai Nelson
63164b70a0
Move ALL_CONDITIONS to tests module 2023-03-23 00:33:04 -04:00
Ajai Nelson
070033b054
Add jump instructions for aarch64 2023-03-23 00:26:11 -04:00
Ajai Nelson
827b88872e
Format 2023-03-23 00:08:30 -04:00
Ajai Nelson
a8fe356e42
Start using added aarch64 instructions 2023-03-22 02:36:55 -04:00
Ajai Nelson
f7443812ca
Add cmp_reg64_reg64 instruction for aarch64 2023-03-22 02:34:42 -04:00
Ajai Nelson
003e3560ec
Add functions for aarch64 instruction aliases 2023-03-22 01:54:24 -04:00
Ahmad Sattar
cda3073efe
Add debug section to the gen_dev crate readme 2023-03-13 11:00:58 +01:00
Anton-4
49196ad032
fixing CI releated issues 2023-03-10 15:31:46 +01:00
Ajai Nelson
9a6edbd220
Start adding more gen_dev aarch64 instructions 2023-03-10 00:21:26 -05:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Ajai Nelson
0b2567cf26
Add sub_reg64_reg64_reg64 instruction for aarch64 2023-03-05 02:10:39 -05:00
Brendan Hansknecht
a87aec77b4
Merge pull request #5068 from roc-lang/gen-dev-i128
gen-dev: num additions
2023-02-28 16:29:42 +00:00
Anton-4
4157c0e72d
patch instruction reference link
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-27 12:25:18 +01:00
Folkert
44f08f9e47
implement sqrt and log in the dev backend 2023-02-26 21:41:25 +01:00
Folkert
6a40d75353
float comparisions 2023-02-26 18:14:11 +01:00
Folkert
f1fa014524
support 128-bit literals 2023-02-26 15:11:49 +01:00
Folkert
9897367038
fix merge conflict in the dev backend 2023-02-22 13:13:40 +01:00
Folkert de Vries
34340de60c
Merge pull request #5020 from roc-lang/dev-unbox-u32
dev backend: reading and writing 32, 16 and 8-bit values
2023-02-21 17:33:21 +01:00
Folkert
808262892e
fix off-by-one error in loop condition 2023-02-18 16:42:47 +01:00
Folkert
b2a875c355
use debug_assert_eq 2023-02-18 16:42:47 +01:00
Folkert
03867fdc1f
str to num 2023-02-18 16:42:46 +01:00
Folkert
93fb1c73e6
str splits 2023-02-18 16:42:46 +01:00
Folkert
a3d5e7bee5
fully implement sign/zero extension 2023-02-18 16:42:46 +01:00
Folkert
4e38a4ce32
enable some utf8 conversion tests 2023-02-18 16:42:46 +01:00
Folkert
aa113f169c
string equality 2023-02-18 16:42:45 +01:00
Folkert
816828040d
tests for boxing/unboxing floats 2023-02-18 16:42:45 +01:00
Folkert
b968122bee
simplify systemv argument storing and loading 2023-02-18 16:42:45 +01:00
Folkert
89201676ef
make is_primitive look through LambdaSet 2023-02-18 16:42:44 +01:00
Folkert
4b31c77b37
paramter ownership is not important for codegen 2023-02-18 16:42:44 +01:00
Folkert
78000b3f19
enable more list tests 2023-02-18 16:42:44 +01:00
Folkert
a66320b00c
count utf bytes 2023-02-18 16:42:43 +01:00
Folkert
e48a604862
add Str.appendScalar 2023-02-18 16:42:43 +01:00
Folkert
92539fe3b0
Revert "implment 8bit logical operators"
This reverts commit 87c49679e1ac5bcfb710b6d432a9f503db3ee501.
2023-02-18 16:42:42 +01:00
Folkert
f6fbfa002b
implment 8bit logical operators 2023-02-18 16:42:42 +01:00
Folkert
4afeb1d67a
store big strings on the heap; enable a lot more string tests 2023-02-18 16:42:42 +01:00
Folkert
1e1da8a61b
reduce linecount 2023-02-18 16:42:41 +01:00
Folkert
38b66765ab
enable more string tests 2023-02-18 16:42:41 +01:00
Folkert
6a84d6ee83
centralize stack movement 2023-02-18 16:42:41 +01:00
Folkert
8ec3ab0963
centralize reading a pointer to some stack location 2023-02-18 16:42:40 +01:00
Folkert
b31edead54
centralize writing a stack value to a pointer 2023-02-18 16:42:40 +01:00
Folkert
ee79a311f9
dev: box and unbox 16-bit and 8-bit values 2023-02-18 16:42:40 +01:00
Folkert
49d52f5d9a
dev: box and unbox 32-bit value 2023-02-18 16:42:39 +01:00
Folkert
6ecafb85a4
add mov_reg32_base32_offset32 2023-02-18 16:42:39 +01:00
Folkert
541039f700
add register names for 32-bit, 16-bit and 8-bit 2023-02-18 16:42:39 +01:00
Ahmad Sattar
3c01ae10c6
Add Lowlevel::Not 2023-02-16 22:47:55 +01:00