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
Folkert
89472bf495
fix most dev backend tests
2023-09-13 20:24:16 +02:00
Folkert
5ca3d3bcf1
make llvm tests work again
2023-09-13 20:24:15 +02:00
Richard Feldman
1d499a0278
Drop unused str.zig function
...
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-09-12 21:45:53 -04:00
Folkert
cd89775176
try to force the sysv calling convention
2023-09-12 18:11:55 +02:00
Luke Boswell
446cff6157
fix memcpy segfault windows llvm
2023-09-12 14:29:50 +02:00
Luke Boswell
2e0c83ae63
fixes for zig tests Windows
2023-09-12 19:28:11 +10:00
Richard Feldman
1d5c5b25ec
Merge remote-tracking branch 'origin/main' into linux64
2023-07-11 11:33:31 -04:00
Folkert
ef39bad7c6
auto clippy fixes
2023-07-10 18:27:08 +02:00
Richard Feldman
0ade2a85d2
Merge pull request #5622 from roc-lang/reset-reuse-free
...
free or reuse unconditionally when value is unique
2023-06-28 09:58:10 -04:00
Folkert
f04295863d
reuse free'ing logic
2023-06-27 19:37:22 +02:00
Folkert
fc3004da58
free or reuse unconditionally when value is unique
2023-06-27 17:37:45 +02:00
Brendan Hansknecht
4f97ab2965
remove old compiler-rt workarounds for macos
2023-06-24 17:27:11 -07:00
Richard Feldman
9a7877cf29
Force PIC when building Zig builtins
2023-06-21 09:06:35 -04:00
Richard Feldman
44e48e1415
Build Zig builtins for aarch64
2023-06-21 08:47:38 -04:00
Richard Feldman
84542b2b02
Drop obsolete comment
...
There's an open design question as to whether we want to commit
to supporting this, so dropping the comment.
2023-06-21 08:46:40 -04:00
Hannes
97fa6758d0
Rename trimLeft to trimStart and trimRight to trimEnd
2023-06-19 13:17:59 +08:00
Brendan Hansknecht
829b71aa1f
fully take ownership of memcpy in the builtins
2023-06-03 19:05:19 -07:00
Brendan Hansknecht
a745b57fb2
move cpuid functions into separate assembly file
2023-06-02 16:16:40 -07:00
Brendan Hansknecht
b899b54354
change assembly comment style to hopefully fix windows
2023-06-02 15:54:08 -07:00
Brendan Hansknecht
341ef9bb7b
prefix assembly functions with _ on macos
2023-06-02 15:26:39 -07:00
Brendan Hansknecht
60babcc56e
fix typo
2023-06-02 15:23:07 -07:00
Brendan Hansknecht
7b8bd988d4
change to more specific .balign assembly attribute
2023-06-02 15:23:06 -07:00
Brendan Hansknecht
60e70c6b1b
add workaround for wasm tests
2023-06-02 15:23:06 -07:00
Brendan Hansknecht
8eed06c3e1
avoid repeated calls to cpuid, it is slow
2023-06-02 15:23:06 -07:00
Brendan Hansknecht
718b7f0ce2
setup memcpy dispatch on every call for now
2023-06-02 15:23:06 -07:00