Jesper Gravgaard
|
294bb27eec
|
Updated %nn to 0bnn and $nn to 0xnn.
|
2024-01-02 19:45:16 +01:00 |
|
Jesper Gravgaard
|
5d6fcca6c2
|
Allocation of zp/memory to variables is now prioritized by the calculated weight of the variable. This ensures that the most used variables are kept on zeropage when variables spill over into main memory. Closes #712
|
2021-09-23 08:24:56 +02:00 |
|
jespergravgaard
|
8a38c2a887
|
Using C declaration format for types in logs, errors, comments and more.
|
2021-08-10 17:48:55 +02:00 |
|
jespergravgaard
|
1df68ee4d8
|
Working on eliminating memcpy() statements when using classic structs. #197
|
2021-07-27 19:11:14 +02:00 |
|
jespergravgaard
|
2b882e6a50
|
Improved doxygen documentation. #672
|
2021-06-20 12:45:52 +02:00 |
|
jespergravgaard
|
6585f08f55
|
Updated tests with doxygen standard library documentation. #672
|
2021-06-19 21:26:05 +02:00 |
|
jespergravgaard
|
d4b8820b1c
|
Removed support for auto-casting integers to pointers. Closes #659
|
2021-05-11 13:36:45 +02:00 |
|
jespergravgaard
|
f0970364b5
|
Parser now based on declarator - allowing for more advanced pointer/array syntax. Preparing for declarator-based functions. #121
|
2021-05-02 14:28:03 +02:00 |
|
jespergravgaard
|
0eed4e7857
|
Fixed tests!
|
2021-01-04 00:11:22 +01:00 |
|
jespergravgaard
|
da789e007f
|
Removed support for programs without segments. Closes #465
|
2020-12-21 08:57:41 +01:00 |
|
jespergravgaard
|
b195a3c545
|
Improved ASM procedure sequence to match calling sequence in program.
|
2020-06-27 23:26:57 +02:00 |
|
jespergravgaard
|
34e9c50775
|
Fixed comments.
|
2020-06-27 20:59:59 +02:00 |
|
jespergravgaard
|
aee57979ef
|
Now comments on global variables are no longer destroyed. However some comments appear twice!
|
2020-06-27 20:32:09 +02:00 |
|
jespergravgaard
|
8d0d36e50b
|
Added all Plus/4 IC's and I/O addresses.
|
2020-05-16 09:33:01 +02:00 |
|
jespergravgaard
|
facd70053d
|
Added support for address-of pointers to members of structs.
|
2020-04-30 22:15:59 +02:00 |
|
jespergravgaard
|
b82c3f0a07
|
Added time-of-day utility for commodore 64 <tod.h>. Moved MOS 6526 CIA to structs.
|
2020-04-26 23:30:04 +02:00 |
|
jespergravgaard
|
a378e831e2
|
Added support for header-files found in include-folders and C-files found in library-folders. The compiler auto-searches for the C-file in the defined lib search path whenever a H-file is included. Closes #387
|
2020-04-11 21:15:34 +02:00 |
|
jespergravgaard
|
beb30de7d1
|
Fixed ASM re-labelling error. #369
|
2020-03-30 20:33:26 +02:00 |
|
jespergravgaard
|
ae1536f429
|
Merged simpler live range calculation to master. Improved scope weight calculation to combine call graph depth and loop depth. Added missing fragments.
|
2020-03-23 00:10:07 +01:00 |
|
jespergravgaard
|
6b3b4bec5a
|
Working on live range effective simple. Fixed aliasing and parameters. There is still problems with functions calling functions - such as print_w(), print_sw() and print_char().
|
2020-03-22 22:26:39 +01:00 |
|
jespergravgaard
|
d1ec933032
|
Fixed error in recursive caller code.
|
2020-03-08 23:26:49 +01:00 |
|
jespergravgaard
|
1836a9bd92
|
Finally eliminated copy visitor!
Refactored CallPhiParameters to modify the current control flow graph.
|
2020-03-07 22:38:40 +01:00 |
|
jespergravgaard
|
5ffae4d92a
|
Added C-source to generated test ASM.
|
2020-02-23 09:44:36 +01:00 |
|
jespergravgaard
|
0b477d24ae
|
Identifying declared constants already during Pass0.
|
2019-11-03 17:05:55 +01:00 |
|
jespergravgaard
|
624c27686c
|
Added underscores to compiler-generated ASM-symbols to avoid clashes with C-symbols. Closes #329
|
2019-09-29 23:13:42 +02:00 |
|
jespergravgaard
|
3aad07f4e1
|
Disabled constant loop head optimization by default (until the two known issues have been fixed.)
|
2019-08-25 22:21:58 +02:00 |
|
jespergravgaard
|
7a49ded40c
|
Now all instructions addressing zero-page have an explicit .z added to the ASM to ensure the ASM generated does zeropage-addressing. Closes #249
|
2019-08-07 21:00:21 +02:00 |
|
Jesper Gravgaard
|
ce5e3cf19a
|
Added constant loop head optimization, that detects when the condition is constant in the first loop iteration. Closes #246
|
2019-08-07 13:22:05 +02:00 |
|
jespergravgaard
|
dacd25ac5f
|
Added constant loop-head detection to a switchable optimization option -Oloophead. #246
Implemented for()-loop condition checking before body. Closes #183
|
2019-08-07 11:27:56 +02:00 |
|
jespergravgaard
|
f8dfe3743b
|
Implemented light-weight zeropage coalesce. Closes #237
|
2019-07-31 13:47:22 +02:00 |
|
jespergravgaard
|
8947882e20
|
Moved zero-page coalesce to an optimization option.
|
2019-05-31 23:17:57 +02:00 |
|
jespergravgaard
|
d13ca4e03b
|
Implemented block label renumbering ensuring generated ASM labels are slightly more sensible to the reader.
|
2019-03-31 17:10:43 +02:00 |
|
jespergravgaard
|
126813ff4e
|
Implemented local scopes for blocks - enabling reuse of variable names (for instance in for loops). Closes #64
|
2019-03-30 00:15:53 +01:00 |
|
jespergravgaard
|
667cbde56f
|
Added a lot of optimizing fragments using illegal opcodes (Thanks Travis Fisher!)
Added synth rule for vubc's.Updated tests.
|
2019-03-26 23:49:45 +01:00 |
|
jespergravgaard
|
ca697a4ffd
|
Improved a plus fragment to use bcc
|
2019-03-18 02:23:29 +01:00 |
|
jespergravgaard
|
dfd9af4d84
|
Added ASM function signature comment. Closes #82.
|
2019-02-19 20:51:48 +01:00 |
|
jespergravgaard
|
af54695232
|
Added support for block comments.
|
2019-02-18 00:12:30 +01:00 |
|
jespergravgaard
|
b8ab7c6c49
|
Added comments before loops
|
2019-02-17 17:53:19 +01:00 |
|
jespergravgaard
|
41a7053b25
|
Implemented statement comments. Assignments are working OK. Some are still thrown away during optimizations.
|
2019-02-17 15:50:42 +01:00 |
|
jespergravgaard
|
27cfaf0ecf
|
Implemented file-level comments. Added a few comment tests.
|
2019-02-17 11:03:55 +01:00 |
|
jespergravgaard
|
69562b7fa9
|
Added comments to constants in ASM.
|
2019-02-17 00:49:19 +01:00 |
|
jespergravgaard
|
67e223d629
|
Added procedure comments to the compiled assembler.
|
2019-02-16 23:23:55 +01:00 |
|
jespergravgaard
|
f8191e8345
|
Default runs @begin code and then optimizes to main() if no code exists outside main.
|
2018-12-25 17:04:50 +01:00 |
|
Jesper Gravgaard
|
2b5f6b8856
|
Rearraning source files to bring KC/REF and fragment files out of the JARS.
|
2018-10-07 02:32:09 +02:00 |
|