1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-27 19:50:10 +00:00
Commit Graph

704 Commits

Author SHA1 Message Date
jespergravgaard
b466f2f5cc Added test provoking a register clobber error. 2018-01-30 22:23:07 +01:00
jespergravgaard
63f6620246 Implemented register(A/X/Y) keyword for allocating variables to specific register. Closes #70 2018-01-30 22:18:49 +01:00
jespergravgaard
7e268c5b4f Moving declared register through the variable chain. 2018-01-30 11:50:18 +01:00
jespergravgaard
88744c8624 Consolidating variable methods - preparing to remove the 3 sub-classes. 2018-01-30 10:23:55 +01:00
jespergravgaard
6a012a3fd0 Added register keyword 2018-01-30 10:04:35 +01:00
jespergravgaard
02d7170a4c Made ASM parenthesis hard. 2018-01-28 23:22:22 +01:00
jespergravgaard
341d8c5556 Renamed dword fragments from vl... to vd... 2018-01-28 23:09:47 +01:00
jespergravgaard
546644b7d3 Added parenthesis to ASM expressions. 2018-01-28 23:06:19 +01:00
jespergravgaard
9b09aaab14 Made dword value higher (>$80000000) 2018-01-28 22:15:09 +01:00
jespergravgaard
3d33851983 Improved dword type inference. 2018-01-28 17:21:57 +01:00
jespergravgaard
9025b7d64a Removed verbose log. 2018-01-28 16:39:58 +01:00
jespergravgaard
fff4299fb2 Added dword and signed dword. Closes #76 2018-01-28 16:19:15 +01:00
jespergravgaard
b3a1c330a7 Removed two synthable fragments 2018-01-28 10:25:40 +01:00
jespergravgaard
4bbddfb5e2 Added comment. 2018-01-24 23:34:35 +01:00
jespergravgaard
f599eb2735 Expanded inline casting to also handle nop casts of pointer derefs. 2018-01-24 23:29:44 +01:00
jespergravgaard
15c1108d2c Expanded inline casting to also handle word/pointer casts. Closes #2. 2018-01-22 00:31:28 +01:00
jespergravgaard
1646f9d3ff Implemented inline casting - allowing for improved ASM when doing no-op casting. 2018-01-21 23:24:28 +01:00
Jesper Gravgaard
eab2e64154 Dropped suite again. 2018-01-21 16:30:37 +01:00
Jesper Gravgaard
4f941adfa8 Put tests into suite to get deterministic sequencing. 2018-01-21 12:01:39 +01:00
Jesper Gravgaard
1d54fec7be Put tests into suite to get deterministic sequencing. 2018-01-21 11:39:06 +01:00
Jesper Gravgaard
9328608fe6 Rebuilt test files with new synth ASM's. 2018-01-21 11:14:20 +01:00
Jesper Gravgaard
2d8cf433f6 Sorting synthesis by clobber when printing. Added an handling of synths with equal cycles & clobber but different ASM. 2018-01-21 09:39:37 +01:00
jespergravgaard
267d006752 Improved bigscroll by inlining screen lines in array assignments. 2018-01-19 00:59:51 +01:00
jespergravgaard
30690b6306 Removed a bunch of synth rules. Added a few fragments. 2018-01-19 00:10:09 +01:00
jespergravgaard
cdbc2e05cf Removed one synth rule. Fixed flaw in others. 2018-01-18 23:51:42 +01:00
Jesper Gravgaard
eadf85a048 Improved fragment generation further. Rules need clean-up soon to improve efficiency. 2018-01-18 23:21:31 +01:00
jespergravgaard
c7b6989c6c Removed verbosity 2018-01-16 16:58:11 +01:00
jespergravgaard
08f2e3a6b8 Added rasterbar test program 2018-01-15 22:16:25 +01:00
jespergravgaard
13bd9509d1 Fixed issue with loop depth - now calculated corrent when some functions have no loops. 2018-01-15 21:02:49 +01:00
jespergravgaard
4c22877f0e Only logging synthesis issue when set to verbose 2018-01-07 12:41:13 +01:00
jespergravgaard
a6e75ffcb0 Implemented fragment tests - first for assignment to unsigned bytes. 2018-01-07 11:42:46 +01:00
jespergravgaard
a047fedebf Moved KC test files into separate folder 2018-01-06 16:36:54 +01:00
jespergravgaard
2603740d15 Moved KC test files into separate folder 2018-01-06 16:36:39 +01:00
jespergravgaard
40153fc6d6 Working on optimal synthesis 2018-01-06 14:01:40 +01:00
jespergravgaard
30d77c1450 Working on optimizing synthesis 2018-01-05 22:29:21 +01:00
jespergravgaard
b55485db50 Implemented sub-fragment clobber avoidance. Improved best template updating. Now the graph-based fragment synthesis system works. Still need to clean-up the synthesis rules. 2018-01-03 08:15:17 +01:00
jespergravgaard
e9965580a4 Iplemented graph based synthesis. Working on the kinks - eg. issue #75 2018-01-03 01:00:55 +01:00
jespergravgaard
b29ed11a81 Renamed fragment system classes in prepararion of graph based solution. 2018-01-02 17:09:42 +01:00
jespergravgaard
3595db56db Renamed fragment system classes in prepararion of graph based solution. 2018-01-02 14:13:08 +01:00
jespergravgaard
2084be92e0 Implemented the rest of the comparison test. Fixed a double jump problem. 2018-01-02 10:17:59 +01:00
jespergravgaard
53d8afbb1d Fixed an error in with comparison rewriting 2018-01-01 22:59:06 +01:00
jespergravgaard
4d46820cf4 Reformatted for code style. 2018-01-01 21:25:11 +01:00
jespergravgaard
20b9ab6881 Tried adding more memory for the Junit JVM 2018-01-01 15:59:15 +01:00
jespergravgaard
939b70aa23 Started implementing new style fragment synthesis rules. Yielding quite good initial optimizations. 2018-01-01 15:09:47 +01:00
Jesper Balman Gravgaard
7913d39a90 Added license 2017-12-31 00:12:09 +00:00
jespergravgaard
269c1343ed Implemented usage sorting and a file details logging option. 2017-12-31 00:15:23 +01:00
jespergravgaard
be37a45e36 Closes #9 2017-12-30 23:55:14 +01:00
jespergravgaard
14616458e5 Used usage module to identify & remove all unneeded fragments. Many unused ones moved into a new "unused" folder to be removed later. 2017-12-30 23:54:27 +01:00
jespergravgaard
aeba75906b Removed all redundant fragment ASM files. 2017-12-30 22:17:42 +01:00
jespergravgaard
4f30cef2d3 Implemented asm template usage statistics. Now prefer synthesis over loading. 2017-12-30 21:59:23 +01:00