Commit graph

39 commits

Author SHA1 Message Date
Ayaz Hafiz
1b84cbafe3
Only compare reprs in gen_dev 2023-05-11 12:48:38 -05:00
Ayaz Hafiz
c3eeb5e2cc
Wrap layouts in a LayoutRepr constructor
Part 1 of support semantic layout representations.
2023-05-10 13:22:10 -05:00
Folkert
e12a7f4f81
refactor nasty loops into recursive functions 2023-05-03 14:43:31 +02:00
Folkert
d6885ec17a
implement List.dropAt 2023-05-02 23:30:06 +02:00
Folkert
fb123b8990
lambda set unwrapping 2023-05-02 22:31:57 +02:00
Folkert
0fa85fe91d
don't copy zero-sized types to the stack 2023-05-02 22:31:57 +02:00
Folkert
ac64e4ab87
fix for re-used DEV_TMP symbol 2023-05-02 22:31:55 +02:00
Folkert
29bc9a2e85
short-circuit loading field from size 0 struct 2023-05-02 22:31:52 +02:00
Folkert
9f8077c3a3
allow no_data return value 2023-05-01 18:41:50 +02:00
Folkert
2aca07d889
asserted restrictions have been lifted 2023-04-27 00:43:59 +02:00
Folkert
2e41ef68b0
cleanup 2023-04-23 20:23:35 +02:00
Folkert
f7e3254a35
unwrap lamda set to runtime representation 2023-04-23 17:56:23 +02:00
Folkert
9f8fb61281
fix assert 2023-04-09 16:49:19 +02:00
Folkert
679337e4c4
fix alignment issue in union creation 2023-04-09 15:13:24 +02:00
Folkert
9dd69f6f9c
Revert "WIP fix for zig functions returning Bool (strEqual)"
This reverts commit 09b01893c6.
2023-04-08 16:56:25 +02:00
Folkert
09b01893c6
WIP fix for zig functions returning Bool (strEqual) 2023-04-08 16:11:04 +02:00
Folkert
ab2cc76717
special-case true/false loading 2023-04-08 13:30:35 +02:00
Folkert
a7aa9530b6
load literal symbols when inserting a jump 2023-04-08 13:15:22 +02:00
Folkert
f1fa014524
support 128-bit literals 2023-02-26 15:11:49 +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
a3d5e7bee5
fully implement sign/zero extension 2023-02-18 16:42:46 +01:00
Folkert
aa113f169c
string equality 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
6a84d6ee83
centralize stack movement 2023-02-18 16:42:41 +01:00
Folkert
b022175489
implement Box.box and Box.unbox in the dev backend 2023-02-08 13:51:30 +01:00
Ayaz Hafiz
6859c2e15c
Update dev backend 2023-01-11 14:38:42 -06:00
J.Teeuwissen
b28b32cdc4
moved Ownership to borrow 2023-01-09 18:15:34 +01:00
J.Teeuwissen
6ec977bf1c
imports 2023-01-04 13:34:31 +01:00
J.Teeuwissen
6c95bc1fb9
replace borrowed boolean with ownership enum 2023-01-04 13:30:42 +01:00
Ayaz Hafiz
7ab7fdfa7b
Push interned layouts as mut throughout the backend, and intern box layouts 2022-12-28 18:51:26 -06:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout 2022-08-31 14:33:52 -05:00
Folkert
2a302cfc46
dev backend unsigned multiply: round 2 2022-08-18 23:11:54 +02:00
Richard Feldman
eb04d4b9f6
Merge pull request #3612 from rtfeldman/tag-alignment
Tag alignment
2022-07-23 22:45:54 -04:00
Folkert
c09cb4e3ea
fix stack size of empty tag union 2022-07-23 23:10:56 +02:00
Brendan Hansknecht
872f6101f9
remove constraint around memcpy when storing to stack 2022-07-16 11:34:47 -07:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Renamed from compiler/gen_dev/src/generic64/storage.rs (Browse further)