Commit graph

23 commits

Author SHA1 Message Date
Quentin Carbonneaux
cad13d0dce add support for unions in sysv abi 2016-08-16 13:28:55 -07:00
Quentin Carbonneaux
fbbb8e4d78 parse union types 2016-08-16 12:54:24 -07:00
Quentin Carbonneaux
3f8af2ba7b specify the allocation function in vnew 2016-08-15 22:55:08 -07:00
Quentin Carbonneaux
8ca73af85a use an enum for aggregate segments 2016-08-14 20:02:56 -07:00
Quentin Carbonneaux
faa084cca9 get rid of old Alt enum 2016-08-14 18:09:49 -07:00
Quentin Carbonneaux
12755db1aa fix type size computations in parser
The type sizes are important to get right because
the ABI relies on them when it emits memory blits
to pass/return structs.
2016-04-25 10:58:11 -04:00
Quentin Carbonneaux
fc87bc5ea5 use short for classes (so it is signed for sure) 2016-04-22 20:06:02 -04:00
Quentin Carbonneaux
55476d0738 refine fp conversion instructions 2016-04-22 15:11:18 -04:00
Quentin Carbonneaux
5053577e0e cosmetics in all.h 2016-04-21 14:02:43 -04:00
Quentin Carbonneaux
657c3fa66b match jumps/ops with il text 2016-04-20 09:56:29 -04:00
Quentin Carbonneaux
c43a07086b factor some subtyping logic in clsmerge() 2016-04-18 14:03:06 -04:00
Quentin Carbonneaux
dc2b1458ac use unsigned long long for bits 2016-04-16 15:37:50 -04:00
Quentin Carbonneaux
e9dc0035ae hack an ssa validator (likely buggy) 2016-04-13 12:39:57 -04:00
Quentin Carbonneaux
ff53f2258d fix wrong isext() macro 2016-04-12 14:51:50 -04:00
Quentin Carbonneaux
abe45f1ab0 enable constant folding 2016-04-09 14:32:07 -04:00
Quentin Carbonneaux
1e0f18e908 add a proper block deletion routine 2016-04-09 14:21:56 -04:00
Quentin Carbonneaux
f2b2256ebe add a canfold field to opdesc 2016-04-07 14:20:12 -04:00
Quentin Carbonneaux
7b3f0f8424 fat il! 2016-04-04 15:44:43 -04:00
Quentin Carbonneaux
74562a93de reorder instructions 2016-04-04 14:45:49 -04:00
Quentin Carbonneaux
e7825e70d5 tradeoff the type of bsiter()
int is used all over the place for temporaries,
maybe this should be changed, I don't know.

Another thing to consider is that temporaries
are currently on 12 bits (and will be on 29
or 30 bits in the future), so int will always be
safe to store them.  We just loose the free
invariant of non-negativity.
2016-04-01 10:41:53 -04:00
Quentin Carbonneaux
0a81036fa2 move abi code in a new file 2016-03-31 17:17:09 -04:00
Quentin Carbonneaux
729aa97b79 cleanup error handling 2016-03-31 09:15:50 -04:00
Quentin Carbonneaux
b75cb8388f new layout, put LICENSE in root 2016-03-29 10:10:22 -04:00
Renamed from src/all.h (Browse further)