1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-21 02:24:34 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
jespergravgaard
3d0871f757 Added support for #pragma cpu(). Added test of program without illegal opcodes. Closes #303 2019-09-08 02:29:20 +02:00
jespergravgaard
62f9d7c9d9 Added initial support for specifying which CPU to compile to. #303 2019-09-08 01:35:38 +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
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
jespergravgaard
f8dfe3743b Implemented light-weight zeropage coalesce. Closes #237 2019-07-31 13:47:22 +02:00
jespergravgaard
869a2dcade Working on extracting zp coalesce logic. 2019-07-31 11:08:33 +02:00
jespergravgaard
a50e9e212a Added support for literal arrays of structs by making the literal-identification and literal-handling and code-generation recursive over the value lists. Closes #223 2019-07-28 23:05:30 +02:00
jespergravgaard
44df048e64 Added support for address-of array-element &sieve[j]. Closes #228 2019-07-26 16:12:12 +02:00
jespergravgaard
e8a0694f34 Added support for different target platforms. Added first platforms c64basic and asm6502 (no upstart). Closes #232 2019-07-25 17:06:19 +02:00
jespergravgaard
02ff354d3f Dropped SelfPhiEliminate pass - so now phi-variables have value for all predecessor-blocks. Added self-phi-handling to Identical-PHI optimization step instead. Closes #231 2019-07-25 14:35:43 +02:00
jespergravgaard
57bbe42711 Fixed problem with small negative constant unsigned words. 2019-07-10 20:54:35 +02:00
jespergravgaard
0e59591d6c Improved output from -Sc option adding C-code comments to the ASM. 2019-07-08 16:43:10 +02:00
jespergravgaard
bf60fab6d0 Removed segment ID from default log. 2019-07-08 12:04:44 +02:00
jespergravgaard
e64659025e Merged optimizations. 2019-07-05 06:56:24 +02:00
Jesper Gravgaard
a0b45ee1aa Optimized xd/yd shifting. 2019-07-04 19:56:11 +02:00
jespergravgaard
7d049f70a3 Added CIA timer test. Removed pointer cast logging (to improve test reproducability). 2019-07-03 21:15:54 +02:00
jespergravgaard
e2fcf78759 Fixed tests. 2019-07-02 09:15:17 +02:00
jespergravgaard
cc08edb0e4 Fixed a few array initializer kickasm problems. Changed atan2 to use it. 2019-06-30 23:33:30 +02:00
Jesper Gravgaard
30068dbf92 Fixed tests 2019-06-30 15:30:08 +02:00
jespergravgaard
d0c23993cc Updated tests 2019-06-29 10:08:46 +02:00
jespergravgaard
b3e7b6da8f Split into 16-bit and 8-bit tests. Added a ref-test. 2019-06-29 09:55:12 +02:00