jespergravgaard
2ee4e5c14a
main merged
2023-05-21 19:16:51 +02:00
jespergravgaard
a20fd82d2d
Merge branch 'master' into 815-procedure-compilation
...
# Conflicts:
# src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java
# src/main/java/dk/camelot64/kickc/passes/Pass4CodeGeneration.java
# src/test/ref/printf-17.log
# src/test/ref/printf-18.log
# src/test/ref/printf-19.log
2023-05-21 19:01:30 +02:00
jespergravgaard
0e3f56ead9
minor changes
2023-05-21 17:47:00 +02:00
jespergravgaard
ce28c50d34
updated tests
2023-05-19 11:06:44 +02:00
Jesper Balman Gravgaard
1142bcb008
Merge branch 'fix-tests' into 'master'
...
Fixed a single test
See merge request camelot/kickc!48
2023-04-24 06:15:19 +00:00
jespergravgaard
f88c573f23
test data update
2023-04-24 08:00:10 +02:00
Jesper Balman Gravgaard
373b3cab35
Merge branch 'fix-compiilation-performance-only-coalesce-zeropage' into 'master'
...
#786 ZP Coalesce optimization
See merge request camelot/kickc!34
2023-04-24 05:53:04 +00:00
jespergravgaard
ccf880e617
Merged master into branch.
...
Rolled back main mem only coalesce.
2023-04-24 07:52:42 +02:00
jespergravgaard
153ab54f10
Merge branch 'master' into fix-compiilation-performance-only-coalesce-zeropage
2023-04-24 07:42:41 +02:00
Jesper Balman Gravgaard
f078c8f839
Merge branch 'baseline-C-code' into 'master'
...
#819 C-code baseline with CX16 developments
See merge request camelot/kickc!35
2023-04-24 05:27:26 +00:00
Sven Van de Velde
46079f3ec2
#819 C-code baseline with CX16 developments
2023-04-24 05:27:26 +00:00
Jesper Balman Gravgaard
3d03993175
Merge branch 'far-call-isolated-updates' into 'master'
...
Merging far calls...
See merge request camelot/kickc!47
2023-04-24 04:51:51 +00:00
jespergravgaard
d4040e30a0
Moved handling of banked param/return to pass 1.
2023-04-24 00:36:36 +02:00
jespergravgaard
8193688eec
added test refs
2023-04-23 23:26:26 +02:00
jespergravgaard
11c86793d3
Ensured we do not coalesce across segments.
2023-04-23 23:25:28 +02:00
jespergravgaard
606ea29132
Moved calling distance to bank.
2023-04-23 22:20:13 +02:00
jespergravgaard
8b7afa4ad0
Procedure.bank is now never null.
2023-04-23 22:04:23 +02:00
jespergravgaard
8c7a144579
Refactored calling distance.
2023-04-23 21:07:16 +02:00
jespergravgaard
eb69af8fe7
Refactored calling convention.
2023-04-23 20:54:22 +02:00
jespergravgaard
9f3ca81e6a
Refactored proximity.
2023-04-23 20:37:37 +02:00
jespergravgaard
2b1bc3c11d
Increased complexity of examples. Fixed A-clobber problems.
2023-04-23 16:00:52 +02:00
jespergravgaard
35b6395f02
Merge branch 'master' into far-call-isolated-updates
2023-04-23 11:55:21 +02:00
jespergravgaard
291ce871c4
Working on far call merge.
2023-04-23 11:54:47 +02:00
Jesper Balman Gravgaard
712b044350
Merge branch '821-asm-byte-expressions' into 'master'
...
Treating ASM bytes as expressions.
Closes #821
See merge request camelot/kickc!46
2023-04-23 08:30:47 +00:00
jespergravgaard
04c507d047
Merge branch '821-asm-byte-expressions' into far-call-isolated-updates
2023-04-23 10:10:11 +02:00
jespergravgaard
54aa66b96e
Treating ASM bytes as expressions.
2023-04-23 10:09:42 +02:00
jespergravgaard
9f75ffdb2a
Merging far-call-isolated.
2023-04-23 09:55:20 +02:00
jespergravgaard
93dac7a14c
Merge branch 'master' into far-call-isolated
...
# Conflicts:
# pom.xml
# src/main/antlr4/dk/camelot64/kickc/parser/KickCParser.g4
# src/main/java/dk/camelot64/kickc/preprocessor/CPreprocessor.java
2023-04-23 09:44:05 +02:00
Flight_Control
ca791df458
- Coalesce optimization option implemented:
...
- nocoalesce: disables coalesce completely.
- Removed the coalesce testing if both classes were equal, as this does not make any sense ...
2023-04-20 10:47:41 +02:00
Flight_Control
4aeed59d0e
- Code improvements for CallingDistance and CallingProximity
2023-04-18 10:15:23 +02:00
Flight_Control
3735b248c3
- Objects.equals(bankLocation, procedure.bankLocation)
2023-04-18 08:36:22 +02:00
Flight_Control
23903b34c6
- Removed TODO
2023-04-18 08:02:39 +02:00
Flight_Control
663a439c34
- Updated test cases
2023-04-14 08:00:31 +02:00
Flight_Control
70012690dd
Revert "- Resolved issue of nobank without parameters. Now it works ... The CPreprocessor adds () and the KickCParser.g4 demands brackets as part of the syntax. But you can write without in the code. - Retested all test cases."
...
This reverts commit 82a6c56e
2023-04-13 13:07:30 +02:00
Jesper Balman Gravgaard
33e33cf543
Merge branch '816-pragma-without-parameters' into 'master'
...
#816 Pragma with no parameter and no parenthesis
Closes #816
See merge request camelot/kickc!45
2023-04-12 06:04:32 +00:00
jespergravgaard
2478ea034f
#816 Pragma with no parameter and no parenthesis
2023-04-12 07:50:52 +02:00
Sven Van de Velde
3916ee3413
- Fixed a silly mistake where the banked close call fragment sequence was wrong. I first need to read the current bank, store it in the stack, then change the current bank. After jsr return, pop the old bank from the stack and store it.
2023-04-12 07:35:45 +02:00
Sven Van de Velde
02d9eaf081
- Added banking signature to procedures in the comments of the assembler output file.
...
- Update test cases and reference data.
- Cleaned old test cases for stack calls.
2023-04-12 06:57:25 +02:00
Sven Van de Velde
82a6c56e0a
- Resolved issue of nobank without parameters. Now it works ... The CPreprocessor adds () and the KickCParser.g4 demands brackets as part of the syntax. But you can write without in the code.
...
- Retested all test cases.
2023-04-11 21:48:26 +02:00
Sven Van de Velde
5c5ffd2736
- Removed unnecessary tests and logic for bank directive parsing.
...
- Retested all test cases.
2023-04-11 14:44:35 +02:00
Sven Van de Velde
477499b97b
- Fixed #pragma nobank parameter issue.
...
- Optimized logic for #pragma bank.
- Updated test cases and references.
- Made #pragma NAME parameters optional.
- Retested all test cases.
2023-04-11 13:41:14 +02:00
Sven Van de Velde
acbf8f073f
- Updated test case references.
2023-04-11 10:41:10 +02:00
Sven Van de Velde
0393958154
Merge remote-tracking branch 'origin/far-call-isolated' into far-call-isolated-#508
2023-04-11 10:14:10 +02:00
Sven Van de Velde
8bb0ae904f
- processed some of the comments.
...
- documentation fixes.
2023-04-11 10:13:41 +02:00
Jesper Balman Gravgaard
e7d717e915
Apply 2 suggestion(s) to 2 file(s)
2023-04-11 08:02:06 +00:00
Jesper Balman Gravgaard
8b7beac0c1
ok
2023-04-11 07:42:41 +00:00
Sven Van de Velde
9cf5f4cd05
Merge commit 'f2bf3484ad84a75f644a47560f1d2a0dd42c1acd' into jesper_baseline_all_changes
...
(cherry picked from commit 74512e132625e2e4f8f0ae3a80beae043dcc642d)
2023-04-11 09:00:46 +02:00
Sven Van de Velde
f2bf3484ad
- testing and regeneration of fragment references
...
- implementation of near, close, far through AsmFragmentSignature
- fragment consolidation (removal of prepare, execute, finalize)
- stackcall banked throws error + test cases
- overall test cases for phi
- implementation of fragments
2023-04-11 08:35:53 +02:00
Sven Van de Velde
b62430bfc3
- near, close, far implementation using fragments for phi calls
...
- fragment consolidation
- removal of platform
- stackcall banked throws error
- testing
2023-04-11 08:35:18 +02:00
jespergravgaard
18f6923e4f
Improved inline ASM checking
2023-04-10 11:49:51 +02:00