Commit graph

310 commits

Author SHA1 Message Date
Ayaz
20bcd70ad2
Merge branch 'main' into div-0-should-crash 2023-12-02 20:10:32 -06:00
Brendan Hansknecht
738098bfd0
Merge branch 'main' into 5830 2023-12-01 16:37:33 -08:00
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Brendan Hansknecht
b62c9667d5
Correct typo
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Brendan Hansknecht <Brendan.Hansknecht@gmail.com>
2023-11-29 21:05:49 -08:00
Brendan Hansknecht
e6cc43492a
rip out old dbg and setup reasonable base debug location info 2023-11-29 21:05:49 -08:00
Brendan Hansknecht
3d6c140a30
get minimal roc_dbg working 2023-11-29 21:05:49 -08:00
John Murray
298f93d20c
update a bunch of panic message to be capitalized 2023-11-28 20:46:09 -05:00
John Murray
d6f0709296
feedback: update some panic messages 2023-11-28 20:21:56 -05:00
John Murray
a5180bed67
make zig roc_panic return type be noreturn and remove some unreachable calls 2023-11-28 00:01:19 -05:00
John Murray
2a762f1379
revert change of integer => Integer in panic messages 2023-11-27 19:59:30 -05:00
George Ungureanu Vranceanu
23b6b432c7
Add log function to Dec 2023-11-25 21:03:26 +00:00
John Murray
38207cff8a
fix typo 2023-11-24 10:07:27 -05:00
John Murray
abc92ded95
add test for divCeil by 0 2023-11-24 10:07:26 -05:00
John Murray
863ecd8da5
be excited to panic... 2023-11-24 10:07:26 -05:00
John Murray
23e22693d4
switch @panic to roc_panic to really throw panics for bad numeric ops 2023-11-24 10:07:26 -05:00
Brendan Hansknecht
ca283197b9
fix LIST_RELEASE_EXCESS_CAPACITY arg count 2023-10-23 13:50:34 -07:00
Brendan Hansknecht
c18345d5ce
fix always_inline from rebase 2023-10-23 13:50:34 -07:00
Folkert
ec0eddb8b2
fix bug in use of alignment in free for tag unions 2023-10-23 13:50:34 -07:00
Luke Boswell
a77ac8244e
switch memcpy to fallback on windows 2023-10-23 13:50:34 -07:00
Brendan Hansknecht
f1126aae75
correct type of bytes_or_null to allow it to be aligned to 1 instead of 8 2023-10-23 13:50:34 -07:00
Anton-4
0abed89cf2
zig fmt fix 2023-10-23 13:50:33 -07:00
Luke Boswell
908c999138
fix zig host obj on windows 2023-10-23 13:50:32 -07: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
Brendan Hansknecht
2e2e609547
update zig to 0.11 and update build script
Also update memcpy to avoid recursive memcpy due to optimizations.
2023-10-23 13:50:30 -07:00
Folkert
c0d67edfd3
cleanup 2023-10-09 15:40:28 +02:00
Folkert
7c67f8aafb
some debugging logs 2023-10-09 15:24:45 +02:00
Folkert
be2c31fe91
more detail 2023-10-09 15:24:44 +02:00
Folkert
ef64e37b9b
use stdlib functions instead of intrinsics 2023-10-09 15:24:44 +02:00
Folkert
c749efb64c
properly return a value
on aarch64, returning a big value does not happen with a pointer passed as the first argument (x0). The pointer is passed in the return register (x8) instead. Just use a zig return to generate the right code in both cases
2023-10-09 15:24:39 +02:00
Brendan Hansknecht
e30eabd5bf
Merge branch 'main' into add-dec-abss 2023-09-26 15:33:24 +00:00
Brendan Hansknecht
c3c5c97e16
remove unused hash.zig file 2023-09-25 10:56:44 -07:00
Sekerez
9307bdbed0 use const 2023-09-24 23:15:36 -04:00
Sekerez
fa65d89a3c Add support for Num.abs to Dec type 2023-09-24 23:10:25 -04:00
Brendan Hansknecht
9edd3eaca0
more benchmark cleanup and warmup phase 2023-09-19 10:50:52 +02:00
Brendan Hansknecht
aee54a44dc
fix asin and acos benchmark 2023-09-19 10:50:51 +02:00
Brendan Hansknecht
a3ee58155c
add other trig functions to dec benchmark 2023-09-19 10:50:51 +02:00
Brendan Hansknecht
c98d136ca2
ensure correct assembly generation without extra data movement 2023-09-19 10:50:51 +02:00
Richard Feldman
cd70fdc36b
Merge pull request #5800 from roc-lang/drop-is-null-term
Drop unused str.zig function
2023-09-17 20:09:48 -04:00
Brendan Hansknecht
bde293db1b
remove duplicate export 2023-09-16 23:46:29 -07:00
Brendan Hansknecht
346eb80bd1
add dec trig functions 2023-09-16 22:55:23 -07:00
Brendan Hansknecht
108d9a54e3
Switch Num.tan to a zig builtin
It should be able to share some work between sine and cosine to run faster.
2023-09-16 21:27:51 -07:00
Brendan Hansknecht
7986d6cdba
add benchmark for sin and asin 2023-09-16 21:27:21 -07:00
Brendan Hansknecht
67494e00fd
add trig functions to dec in zig 2023-09-16 11:05:44 -07:00
Brendan Hansknecht
070e556c71
make dec bench functional again and much more robust 2023-09-15 12:54:45 -07:00
Folkert
5ebd18cee0
trim some debug messages 2023-09-14 14:43:29 +02:00
Folkert
fdacfce108
all gen-dev tests work again 2023-09-14 14:43:28 +02:00
Folkert
5e4f43e1d8
checkpoint 2023-09-14 14:43:24 +02:00
Folkert
3c8dbce72e
fix alignment bug in list literals 2023-09-14 14:39:15 +02:00
Folkert
5bcfd91f3a
add decimal comparisons and conversions to wasm backend 2023-09-13 23:19:07 +02:00
Folkert
3909443ef4
fix two bugs in the dev backend 2023-09-13 20:24:17 +02:00