Commit graph

5024 commits

Author SHA1 Message Date
Brendan Hansknecht
e270f36422
add wasm backend hooks 2023-09-16 23:05:12 -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
c5d34ea767
Merge pull request #5812 from roc-lang/dec-range-docs
Clarify Dec range and decimal places in docs
2023-09-16 10:43:51 +00:00
Luke Boswell
c79ad40aea
Merge pull request #5814 from roc-lang/aarch-more-num-tests
aarch64 on macos
2023-09-16 20:33:15 +10:00
Luke Boswell
46b472240f
Merge pull request #5811 from roc-lang/aarch-argument-passing
working aarch64 elf tests
2023-09-16 19:36:45 +10:00
Luke Boswell
0259c11565
fix relocation format macos aarch64 dev backend 2023-09-16 19:33:44 +10:00
Folkert
04906c1b58
fix relocation addend 2023-09-16 10:59:35 +02:00
Brendan Hansknecht
562c6b4a8c
Clarify Dec range and decimal places in docs
Also remove extra numbers from float result for 0.1 + 0.2.
Floats only have 16 decimal places of precision and the rest generally is not printed.
2023-09-15 18:37:51 -07:00
Folkert
8ffc46d9a9
debug relocations 2023-09-16 01:36:15 +02:00
Folkert
c98d9356ac
centralize relocation logic 2023-09-16 01:35:26 +02:00
Folkert
821cc0cfd8
env variable for writing out the obj file 2023-09-16 00:51:14 +02:00
Folkert
9d0fd50ecb
move with sign extension 2023-09-16 00:29:16 +02:00
Folkert
f30b0bdf68
disable some debugging stuff 2023-09-15 23:10:43 +02:00
Folkert
ae296a92b7
another simplification 2023-09-15 23:07:29 +02:00
Folkert
e33414938d
simplify many methods that operate on different register widths 2023-09-15 23:07:29 +02:00
Folkert
6cbe15bf9d
crude attempt at mov_reg_reg 2023-09-15 23:07:29 +02:00
Folkert
aaf89783f9
load/store float with negative offset 2023-09-15 23:07:29 +02:00
Folkert
f9c53fc237
load/store from any float register 2023-09-15 23:07:28 +02:00
Folkert
1becbbd61b
store float to stack 2023-09-15 23:07:28 +02:00
Folkert
58875ec499
load float base32 2023-09-15 23:07:28 +02:00
Folkert
2adab91d70
forgot a nibble 2023-09-15 23:07:27 +02:00
Folkert
cfe21a4894
safe generated object file 2023-09-15 23:07:27 +02:00
Folkert
63ff495763
call the main function directly on aarch64? 2023-09-15 23:07:27 +02:00
Folkert
bcfab8d09e
fix relocation size 2023-09-15 23:07:26 +02:00
Folkert
9e3fe7b405
use supported relocation format 2023-09-15 23:07:26 +02:00
Folkert
7f927dcb0c
negative immediate add 2023-09-15 23:07:26 +02:00
Folkert
7387d2342b
return complex symbol 2023-09-15 23:07:25 +02:00
Folkert
133c03321a
movzx 2023-09-15 23:07:25 +02:00
Folkert
0b67ed8f2f
load complex returned symbol 2023-09-15 23:07:20 +02:00
Folkert
027b8aff4d
add function calls and maybe fix function call relocations? 2023-09-15 23:06:06 +02:00
Folkert
356f225b5d
add ldur and str for negative offset movs 2023-09-15 23:06:06 +02:00
Folkert
8db86fc887
mock data pointers 2023-09-15 23:06:06 +02:00
Folkert
8a9126b024
choose a different jump placeholder that fits in 27 bits 2023-09-15 23:06:05 +02:00
Folkert
84367b1a08
add float param regs 2023-09-15 23:06:05 +02:00
Folkert
93bd1b8f09
copy over the systemv implementation of load/store 2023-09-15 23:05:57 +02:00
Brendan Hansknecht
070e556c71
make dec bench functional again and much more robust 2023-09-15 12:54:45 -07:00
Anton-4
a564876631
Merge pull request #5795 from FabHof/BadInputError
Implement error messages for (parts of) BadInputError
2023-09-15 20:56:28 +02:00
Richard Feldman
5e1dc1578a
Merge pull request #5786 from roc-lang/src64
Add parser/Src64
2023-09-15 14:42:37 -04:00
Anton-4
f0795e6935
minor improvements 2023-09-15 19:51:13 +02:00
Folkert
124b533bc0
implement some missing checked operations in the dev backend 2023-09-15 16:08:05 +02:00
Folkert
e850f94d05
a proper fix for llvm wasm checked arithmetic 2023-09-15 14:53:00 +02:00
Folkert
fd7a7ba1e6
temporary fix for llvm wasm argument passing 2023-09-15 13:15:37 +02:00
Folkert
edefbe5b6b
fix wrong alignment used to (re)allocate a list 2023-09-15 00:46:26 +02:00
Folkert
310cc2ae0f
fix alignment 16 bug in roc_list
the rust RocList did not pad the reference count when the alignment is bigger than that of the reference count
2023-09-14 17:30:37 +02:00
Folkert
4b70076e8b
remove unused argument 2023-09-14 14:55:22 +02:00
Folkert
b92d8d55a1
align u128 to 16 again 2023-09-14 14:53:18 +02:00
Folkert
368c2670a0
spelling 2023-09-14 14:44:04 +02:00