Commit graph

588 commits

Author SHA1 Message Date
Folkert
05c8521211
clippy 2024-01-02 22:39:59 +01:00
Folkert
7a365eb88f
enable even more dev-backend num tests 2024-01-02 22:23:47 +01:00
Folkert
b7a41bcb3e
enable many more dev-backend num tests 2024-01-02 21:30:49 +01:00
Folkert
6c521555ea
decimal division in dev backend 2024-01-02 19:53:13 +01:00
Folkert
4bcd195b92
implement NumSub (that panics) in the dev backend 2024-01-02 19:47:17 +01:00
Folkert
cfdfbe18a4
implement panic on overflow for mul in the dev backend 2024-01-02 15:56:28 +01:00
Anton-4
c85a25e320
clippy fixes 2024-01-01 19:19:44 +01:00
Anton-4
cd632fe549
Merge branch 'main' of github.com:roc-lang/roc into clippy-1.74 2023-12-25 17:05:37 +01:00
Brendan Hansknecht
81eff6a23f
Merge pull request #6176 from roc-lang/set-perf
Improve perf of Dict and Set
2023-12-06 02:02:01 -08:00
Brendan Hansknecht
6692f5b15d
correct counting bits to return a u8
Also add an impl to the dev backend
2023-12-05 12:37:10 -08:00
Ching Pei Yang
8c7bc6455e
Fix typos 2023-12-05 20:03:19 +01:00
Ayaz
aaba3f4d82
Merge branch 'main' into clippy-1.74 2023-12-02 20:09:06 -06:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00
Folkert
104c44a754
ensure that when a switch case uses a callee-saved register, that register gets stored/restored properly 2023-11-25 20:18:37 +01:00
Folkert
85afcdd011
add clarifying comment to callee_saved 2023-11-25 19:54:51 +01:00
HajagosNorbert
6975294278
format code & replace vec!(in arena;...) with arena.alloc([...]) 2023-11-21 11:09:42 +01:00
Folkert
b3177a157c
first automatic changes 2023-11-18 22:38:04 +01:00
HajagosNorbert
9c21ac1388
rename to GetElementPointer, index -> indices 2023-11-13 15:48:05 +01:00
HajagosNorbert
90223022af
remove tag_id in favor of index 2023-11-13 15:48:05 +01:00
HajagosNorbert
347431d1df
index to slice of indicies 2023-11-13 15:48:05 +01:00
Richard Feldman
e59d4e57c5
Add List.appendIfOk and List.prependIfOk 2023-11-06 18:13:15 +01:00
Brendan Hansknecht
398bf2f96c
update rust code to llvm-16 and fix build
also update:
 - llvm frame address
 - erased function type
 - dec passing to zig
 - gen dev storage size
2023-10-23 13:50:31 -07:00
Folkert
ecf7066e6c
dev backend: provide a hardcoded implementation for equality on VOID 2023-10-10 14:28:43 +02:00
Folkert
beed1e3d6e
account for the tag id when doing a memcpy 2023-10-09 17:55:30 +02:00
Folkert
c0d67edfd3
cleanup 2023-10-09 15:40:28 +02:00
Folkert
b39c592bea
realize all list elements on the stack before writing to the list 2023-10-09 15:24:46 +02:00
Folkert
9118eeac0c
store registers at negative offset vs. the base pointer 2023-10-09 15:24:45 +02:00
Folkert
5368c145cd
make stack cleanup symmetric
we were doing things relative to the base pointer, but it got moved back to the caller's base pointer before use. this caused stack corruption
2023-10-09 15:24:45 +02:00
Folkert
7c67f8aafb
some debugging logs 2023-10-09 15:24:45 +02:00
Folkert
a4e314593f
actually do not pass the shadow space size 2023-10-09 15:24:43 +02:00
Folkert
c2216dfc9f
the actual fix 2023-10-09 15:24:43 +02:00
Folkert
734cfe9bce
fix how registers are stored/loaded before a function call 2023-10-09 15:24:43 +02:00
Folkert
6510591b60
fix the order 2023-10-09 15:24:42 +02:00
Folkert
ae4df42eab
another attempt 2023-10-09 15:24:42 +02:00
Folkert
968fc04d93
an attempt 2023-10-09 15:24:42 +02:00
Folkert
11bd8445b2
load stack arguments from the right location 2023-10-09 15:24:41 +02:00
Folkert
a03772d5cc
use x15 (and not x8) as a temp register 2023-10-09 15:24:41 +02:00
Folkert
1db7a8f2a5
simplify boolean not 2023-10-09 15:24:40 +02:00
Folkert
f39992bd8d
big base offsets 2023-10-09 15:24:40 +02:00
Folkert
aa261c4437
dev backend: correct bounds on negative jumps 2023-10-09 15:24:40 +02:00
Folkert
ea5632c437
pass missing argument to utf8_range 2023-10-09 15:24:39 +02:00
Folkert
a8214f2d06
remove extra dereference 2023-10-09 15:24:39 +02:00
Luke Boswell
b925e6e0bc
fix dev backend symbol name length 2023-10-09 15:24:38 +02:00
Luke Boswell
6fe3a9f927
fix gen_large_when_int aarch64 2023-10-09 15:24:38 +02:00
Agus Zubiaga
b9c003afc6
Format object_builder 2023-10-09 15:24:38 +02:00
Agus Zubiaga
ad127eb395
Add undefined rc procs for LinkedData too 2023-10-09 15:24:37 +02:00
Luke Boswell
99369dec85
implement roc_panic aarch64 2023-10-09 15:24:37 +02:00
Luke Boswell
04867dc2ea
fix pass_bool_record aarch dev backend 2023-10-09 15:24:36 +02:00
Luke Boswell
7de2915fb7
WIP setjmp longjmp roc_panic aarch64 dev 2023-10-09 15:24:36 +02:00
Luke Boswell
f1e049ddc9
fix aarch macos relocation for LinkedData 2023-10-09 15:24:36 +02:00