1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-27 09:31:18 +00:00
Commit Graph

1827 Commits

Author SHA1 Message Date
jespergravgaard
37f5d833c9 Moving array properties from type to variable. A few tests still failing. 2019-11-18 22:40:12 +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
20dcf58eee Removed notregister from Variable. 2019-11-17 20:05:26 +01:00
jespergravgaard
fa5f96221d Removed inferedType from Variable. 2019-11-17 19:58:06 +01:00
jespergravgaard
4cd74cf0a0 Removed __notconst directive. 2019-11-17 19:36:30 +01:00
jespergravgaard
5d54b7c352 added 16-color image. 2019-11-17 18:51:02 +01:00
jespergravgaard
bd83f1f5bf Added example of a 8bit-per-pixel logo for the XMega65. 2019-11-17 16:49:54 +01:00
jespergravgaard
09c504e693 Working on catching all declared constants in parse 0. 2019-11-17 01:51:42 +01:00
jespergravgaard
0e1acd35d2 Working on catching all declared constants in parse 0. 2019-11-17 01:28:20 +01:00
jespergravgaard
9403fe34c8 Working on catching all declared constants in parse 0. Added hacky handing of phi master. 2019-11-15 08:53:09 +01:00
jespergravgaard
5b0022a096 Working on catching all declared constants in parse 0. 2019-11-13 09:15:43 +01:00
jespergravgaard
162fb7f1e5 Working on catching all declared constants in parse 0. 2019-11-04 08:18:28 +01:00
jespergravgaard
6b15bedde0 Working on catching all declared constants in parse 0. 2019-11-04 00:39:09 +01:00
jespergravgaard
b921c99661 Converting constant value lists directly to constant values during parse. 2019-11-03 22:12:51 +01:00
jespergravgaard
cfb27e5915 Converting constant value lists directly to constant values during parse. 2019-11-03 21:27:11 +01:00
jespergravgaard
8d494cb587 Removed early const data structure. 2019-11-03 20:41:07 +01:00
jespergravgaard
b6b01ab232 Fixed tests. 2019-11-03 20:11:06 +01:00
jespergravgaard
0b477d24ae Identifying declared constants already during Pass0. 2019-11-03 17:05:55 +01:00
jespergravgaard
e68e22ae2a Removed all calls to setKind() except 2 in early constant detection. 2019-11-03 12:01:12 +01:00
jespergravgaard
5839a98c60 Changed declared const handling. 2019-11-03 10:48:40 +01:00
jespergravgaard
d9582d6b0f Refactoring handling of variable directives. 2019-11-02 22:54:13 +01:00
jespergravgaard
c7d5be3962 Renamed to Variable. 2019-11-01 20:46:10 +01:00
jespergravgaard
fd307776ae Removed ConstantVar class (using SymbolVariable instead). 2019-11-01 19:49:21 +01:00
jespergravgaard
093898455f Removed Variable class (using SymbolVariable). 2019-11-01 18:24:09 +01:00
jespergravgaard
5b1e3ec153 Moved many usages from Variable to SymbolVariable. 2019-11-01 08:08:34 +01:00
jespergravgaard
e35f1b1530 Fixed tests. Moved all attributes to SymbolVariable. 2019-10-31 23:07:51 +01:00
jespergravgaard
79d4f6f1a5 Renamed constantValue getter/setter. 2019-10-31 22:51:31 +01:00
jespergravgaard
445f104309 Merge remote-tracking branch 'origin/328-memvars' into 328-memvars 2019-10-31 22:48:24 +01:00
jespergravgaard
db60a5e2a4 Moved constant value to SymbolVariable. 2019-10-31 22:48:08 +01:00
Jesper Gravgaard
e427cb648b Merge remote-tracking branch 'origin/328-memvars' into 328-memvars 2019-10-31 16:10:46 +01:00
Jesper Gravgaard
ad7c0c57ac Fixes static optimization problem. Closes #336 2019-10-31 16:10:29 +01:00
jespergravgaard
acb71114e2 Changed to standard C syntax. 2019-10-30 08:32:11 +01:00
jespergravgaard
7f9fd7b46a Updated tetris to C types. 2019-10-29 23:55:43 +01:00
jespergravgaard
d29a935507 Updated sinusgen8 test code. 2019-10-20 20:49:31 +02:00
jespergravgaard
e0749c4ac2 Updated sinusgen8 test code. 2019-10-20 20:41:16 +02:00
jespergravgaard
7ece3b172d Added another __notconst test. 2019-10-20 20:17:23 +02:00
jespergravgaard
79e6c92dd1 Added test of __notconst directive. 2019-10-20 20:15:01 +02:00
jespergravgaard
a34abcbdff Added __notconst directive. 2019-10-20 20:01:38 +02:00
jespergravgaard
ea4563cf99 Working on constant identification. 2019-10-20 17:06:17 +02:00
jespergravgaard
bacd900a9b Added test for __ssa / __notssa. Made literal char ConstantEnumerable. 2019-10-20 14:06:54 +02:00
jespergravgaard
077f40b0d7 Added keyword directives __notvolatile, __ssa, __notssa. 2019-10-20 13:44:30 +02:00
jespergravgaard
71ce3d0438 Aligned hardcoded address register implementation between memory registers and zp registers. 2019-10-20 13:21:04 +02:00
jespergravgaard
93456f0eb0 Cleaned up code generation and register.isZp() 2019-10-20 12:12:36 +02:00
jespergravgaard
0298452244 Fixed tests. 2019-10-20 11:41:56 +02:00
jespergravgaard
dc9480a8c8 Added missing fragments. 2019-10-20 11:31:09 +02:00
jespergravgaard
9e6fcdc781 Fixed tests. 2019-10-20 03:43:58 +02:00
jespergravgaard
a8c9943b73 Fixed test data for constants. Closes #209 2019-10-20 01:48:09 +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
3faf1e05d5 Memory PHI registers can now be uplifted to A/X/Y. Fixed fragment synth rule for memory. 2019-10-20 00:49:34 +02:00
jespergravgaard
fcc48de855 Implemented coalescing for main memory PHI registers. 2019-10-19 23:08:30 +02:00