jespergravgaard
|
b195a3c545
|
Improved ASM procedure sequence to match calling sequence in program.
|
2020-06-27 23:26:57 +02:00 |
|
jespergravgaard
|
c1b22d345e
|
Removed old @begin / @end global blocks. Now using __start(), __init(). Closes #257
|
2020-06-27 22:36:52 +02:00 |
|
jespergravgaard
|
9c9a39f109
|
Updated remaining ref files.
|
2020-06-27 21:18:00 +02:00 |
|
jespergravgaard
|
95a3759087
|
Renamed a few VIC II registers
|
2020-05-02 11:38:51 +02:00 |
|
jespergravgaard
|
0a9cee999d
|
Updated C64 header file.
|
2020-04-28 22:58:16 +02:00 |
|
jespergravgaard
|
8f2b1c2134
|
Moved MOS 6526 and MOS 6581 to separate H-files. Removed log noise causes by structs in H-files.
|
2020-04-28 00:30:35 +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
|
793a776b04
|
Clean-up of pass 1 log to avoid modifying log-files evey time stdlib is modified.
|
2020-04-25 20:10:49 +02:00 |
|
jespergravgaard
|
6a2937aa29
|
Casts are now inlined during parse - so they can be used for struct unwinding and more. They are then de-inlined around pass 1. This fixes problem with passing struct constructor as parameter to function. Closes #413
|
2020-04-19 11:05:54 +02:00 |
|
jespergravgaard
|
db6f8b5a36
|
Added variable nomodify/volatile information to log.
|
2020-03-29 21:00:25 +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
|
0beeab9be2
|
Refactored live ranges to work for multiple-assign variables. The price is that a few unused variables are no longer optimized away since they depend only on them selves. See duplace-loop-problem.kc.
|
2020-02-14 00:32:19 +01:00 |
|
jespergravgaard
|
7b81b51bc0
|
Rewrote constant identification to allow nested arrays/structs. TODO: function-as-array
|
2020-01-01 18:27:53 +01:00 |
|
jespergravgaard
|
23a91ef3d3
|
Fixed volatile support.
|
2019-12-25 17:04:08 +01:00 |
|
jespergravgaard
|
4c443c1034
|
Updated test data.
|
2019-12-21 10:38:44 +01:00 |
|
jespergravgaard
|
ecccf55a08
|
Moving array properties from type to variable. A few tests still failing.
|
2019-11-18 22:02:29 +01:00 |
|
jespergravgaard
|
fa5f96221d
|
Removed inferedType from Variable.
|
2019-11-17 19:58:06 +01:00 |
|
jespergravgaard
|
0b477d24ae
|
Identifying declared constants already during Pass0.
|
2019-11-03 17:05:55 +01:00 |
|
jespergravgaard
|
0298452244
|
Fixed tests.
|
2019-10-20 11:41:56 +02:00 |
|
jespergravgaard
|
82d3cc7e68
|
Improved ASM name shortening to remove labels representing the same variable with different versions and the same allocation. Closes #209
|
2019-10-20 01:43:51 +02:00 |
|
jespergravgaard
|
85676bc83a
|
Implemented support for fixed address main memory variables using __mem(0x1000) directive.
|
2019-10-14 00:51:19 +02:00 |
|
Jesper Gravgaard
|
70aa2836da
|
Improved printing register ZP.
|
2019-10-12 11:40:36 +02:00 |
|
jespergravgaard
|
bfdd2fb0a5
|
Optimizing constant detection - avoiding versions.
|
2019-09-29 22:36:02 +02:00 |
|
jespergravgaard
|
587027397d
|
Variable storage strategy implementation almost done.
|
2019-09-29 20:57:28 +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
|
19e53bf6fd
|
Implemented handling of expr-statements that do not produce a statement - this forces an assignment to a tmp-var (which means that it will be type-checked and more). Closes #276
|
2019-08-25 21:37:10 +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 |
|
Jesper Gravgaard
|
73fb40a3e3
|
merged and fixed conflict
|
2019-07-30 15:01:43 +02:00 |
|
jespergravgaard
|
9264967b3f
|
fixed tests
|
2019-07-11 06:31:29 +02:00 |
|
jespergravgaard
|
28c1f71d5e
|
Fixed void* pointer problem properly. Closes #205
|
2019-06-24 23:22:20 +02:00 |
|
jespergravgaard
|
908ccb19ce
|
Fixed void* pointer problem. Closes #205
|
2019-06-24 22:46:07 +02:00 |
|
jespergravgaard
|
03e76570b8
|
Added test for memcpy
|
2019-06-22 10:36:13 +02:00 |
|
jespergravgaard
|
f2a770182e
|
Added fragments. Added bitmap spiral test.
|
2019-06-22 00:25:28 +02:00 |
|