1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-03 07:29:37 +00:00

Commit Graph

  • f88c573f23 test data update fix-tests jespergravgaard 2023-04-24 08:00:10 +0200
  • 373b3cab35 Merge branch 'fix-compiilation-performance-only-coalesce-zeropage' into 'master' Jesper Balman Gravgaard 2023-04-24 05:53:04 +0000
  • ccf880e617 Merged master into branch. Rolled back main mem only coalesce. jespergravgaard 2023-04-24 07:52:42 +0200
  • 153ab54f10 Merge branch 'master' into fix-compiilation-performance-only-coalesce-zeropage jespergravgaard 2023-04-24 07:42:41 +0200
  • f078c8f839 Merge branch 'baseline-C-code' into 'master' Jesper Balman Gravgaard 2023-04-24 05:27:26 +0000
  • 46079f3ec2 #819 C-code baseline with CX16 developments Sven Van de Velde 2023-04-24 05:27:26 +0000
  • 2b1f7be12c Merge branch 'add-scope-local-variables' into 'master' Sven Van de Velde 2023-04-24 05:26:53 +0000
  • 3d03993175 Merge branch 'far-call-isolated-updates' into 'master' Jesper Balman Gravgaard 2023-04-24 04:51:51 +0000
  • d4040e30a0 Moved handling of banked param/return to pass 1. far-call-isolated-updates jespergravgaard 2023-04-24 00:36:36 +0200
  • 8193688eec added test refs jespergravgaard 2023-04-23 23:26:26 +0200
  • 11c86793d3 Ensured we do not coalesce across segments. jespergravgaard 2023-04-23 23:25:28 +0200
  • 606ea29132 Moved calling distance to bank. jespergravgaard 2023-04-23 22:20:13 +0200
  • 8b7afa4ad0 Procedure.bank is now never null. jespergravgaard 2023-04-23 22:04:23 +0200
  • 8c7a144579 Refactored calling distance. jespergravgaard 2023-04-23 21:07:16 +0200
  • eb69af8fe7 Refactored calling convention. jespergravgaard 2023-04-23 20:54:22 +0200
  • 9f3ca81e6a Refactored proximity. jespergravgaard 2023-04-23 20:37:37 +0200
  • 2b1bc3c11d Increased complexity of examples. Fixed A-clobber problems. jespergravgaard 2023-04-23 16:00:52 +0200
  • 35b6395f02 Merge branch 'master' into far-call-isolated-updates jespergravgaard 2023-04-23 11:55:21 +0200
  • 291ce871c4 Working on far call merge. jespergravgaard 2023-04-23 11:54:47 +0200
  • 712b044350 Merge branch '821-asm-byte-expressions' into 'master' Jesper Balman Gravgaard 2023-04-23 08:30:47 +0000
  • 04c507d047 Merge branch '821-asm-byte-expressions' into far-call-isolated-updates jespergravgaard 2023-04-23 10:10:11 +0200
  • 54aa66b96e Treating ASM bytes as expressions. 821-asm-byte-expressions jespergravgaard 2023-04-23 10:09:42 +0200
  • 9f75ffdb2a Merging far-call-isolated. jespergravgaard 2023-04-23 09:55:20 +0200
  • 93dac7a14c Merge branch 'master' into far-call-isolated jespergravgaard 2023-04-23 09:44:05 +0200
  • ca791df458 - Coalesce optimization option implemented: - nocoalesce: disables coalesce completely. Flight_Control 2023-04-20 10:47:41 +0200
  • 4aeed59d0e - Code improvements for CallingDistance and CallingProximity Flight_Control 2023-04-18 10:14:47 +0200
  • 3735b248c3 - Objects.equals(bankLocation, procedure.bankLocation) Flight_Control 2023-04-18 08:36:22 +0200
  • 23903b34c6 - Removed TODO Flight_Control 2023-04-18 08:02:39 +0200
  • e3d5bb3a03 - Updated test cases Flight_Control 2023-04-14 08:22:39 +0200
  • 663a439c34 - Updated test cases Flight_Control 2023-04-14 08:00:31 +0200
  • ba8652f16f - Fixed an issue where the operand of an inline assembler is like ldx <variable ... The operand starts with < and not with variable name! Flight_Control 2023-04-14 07:15:09 +0200
  • 92ed42a22b (cherry picked from commit 6047e18c7bb146f45ebe69a723c436a1a993338a) Flight_Control 2023-04-14 01:47:18 +0200
  • 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." Flight_Control 2023-04-13 13:07:30 +0200
  • d6a7587dd1 Merge branch '742-typed-signature' into 'master' Jesper Balman Gravgaard 2023-04-13 05:55:37 +0000
  • 33e33cf543 Merge branch '816-pragma-without-parameters' into 'master' Jesper Balman Gravgaard 2023-04-12 06:04:32 +0000
  • 2478ea034f #816 Pragma with no parameter and no parenthesis 816-pragma-without-parameters jespergravgaard 2023-04-12 07:50:52 +0200
  • 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. Sven Van de Velde 2023-04-12 07:35:45 +0200
  • 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. Sven Van de Velde 2023-04-12 06:57:25 +0200
  • 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. Sven Van de Velde 2023-04-11 21:48:26 +0200
  • 5c5ffd2736 - Removed unnecessary tests and logic for bank directive parsing. - Retested all test cases. Sven Van de Velde 2023-04-11 14:44:35 +0200
  • 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. Sven Van de Velde 2023-04-11 13:41:14 +0200
  • acbf8f073f - Updated test case references. Sven Van de Velde 2023-04-11 10:41:10 +0200
  • 0393958154 Merge remote-tracking branch 'origin/far-call-isolated' into far-call-isolated-#508 Sven Van de Velde 2023-04-11 10:14:10 +0200
  • 8bb0ae904f - processed some of the comments. - documentation fixes. Sven Van de Velde 2023-04-11 10:13:41 +0200
  • e7d717e915 Apply 2 suggestion(s) to 2 file(s) Jesper Balman Gravgaard 2023-04-11 08:02:06 +0000
  • 8b7beac0c1 ok Jesper Balman Gravgaard 2023-04-11 07:42:41 +0000
  • 9cf5f4cd05 Merge commit 'f2bf3484ad84a75f644a47560f1d2a0dd42c1acd' into jesper_baseline_all_changes Sven Van de Velde 2023-04-11 09:00:46 +0200
  • 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 Sven Van de Velde 2023-04-11 08:35:53 +0200
  • b62430bfc3 - near, close, far implementation using fragments for phi calls - fragment consolidation - removal of platform - stackcall banked throws error - testing Sven Van de Velde 2023-04-11 08:35:18 +0200
  • 18f6923e4f Improved inline ASM checking jespergravgaard 2023-04-10 11:49:51 +0200
  • 9dc17caab2 Made statement loops simpler. jespergravgaard 2023-04-10 11:37:50 +0200
  • 55bec51f09 Made statement loops simpler. jespergravgaard 2023-04-10 11:19:32 +0200
  • c78b8c59b1 #815 working on moving control flow graphs into procedure compilation. jespergravgaard 2023-04-10 10:23:00 +0200
  • a52b5dc4a9 Banking progress Sven Van de Velde 2023-04-10 07:22:06 +0200
  • c550a122da Banking progress Sven Van de Velde 2023-04-10 07:19:35 +0200
  • 40182a6ad6 #815 working on moving control flow graphs into procedure compilation. jespergravgaard 2023-04-10 00:08:44 +0200
  • dfbeba7805 #815 working on moving control flow graphs into procedure compilation. jespergravgaard 2023-04-09 23:59:49 +0200
  • ac96f0b8da #815 working on moving control flow graphs into procedure compilation. jespergravgaard 2023-04-09 23:40:37 +0200
  • 1fad48f8bc #815 working on moving control flow graphs into procedure compilation. jespergravgaard 2023-04-09 22:49:53 +0200
  • 5905c1d5b6 Now handling uncalled procedures. jespergravgaard 2023-04-09 11:24:22 +0200
  • 416184894f #815 working on generalizing the control flow graph and control flow block into an interface. jespergravgaard 2023-04-09 00:02:48 +0200
  • 5a74d14b41 #815 working on generalizing the control flow graph and control flow block into an interface. jespergravgaard 2023-04-08 22:52:15 +0200
  • 185bd439e4 #815 more procedure compilation jespergravgaard 2023-04-06 22:46:28 +0200
  • adb9688acb Merge branch '814-upgrade-java' into 'master' 815-move-more-compilation-into-procedure-compilation Jesper Balman Gravgaard 2023-04-06 07:08:26 +0000
  • 7b1b3d3708 Merge branch 'master' into 814-upgrade-java 814-upgrade-java jespergravgaard 2023-04-06 08:55:27 +0200
  • a12a211d70 #814 Upgrade to Java 17 plus upgraded libraries. jespergravgaard 2023-04-06 08:44:31 +0200
  • 7e0986196e Merge branch '372-varcall-progress' into 'master' 814-upgrade-to-java-17-and-upgrade-libraries Jesper Balman Gravgaard 2023-04-05 15:32:31 +0000
  • 271163a25f Merge branch 'master' into 372-varcall-progress 372-varcall-progress jespergravgaard 2023-04-05 17:17:16 +0200
  • 1499f8cecc - Added javadoc documentation in Bank.java. - Added reworked procedure-callingconvention-phi-bank-5.c to reflect a good banking example for the documentation. - Update ref for test cases. Flight_Control 2023-04-05 13:10:18 +0200
  • bdc4e28d0a - Fixed test cases going in error. - Optimized test cases and documented them properly. - Remove obscolete ref data. Flight_Control 2023-04-04 23:31:56 +0200
  • f864f61be2 Merge branch 'add-union-initializer-c99-syntax' into 'master' Jesper Balman Gravgaard 2023-04-04 20:35:44 +0000
  • b13262beb8 - Added test cases. - Merged remaining code change that is not in master remote. Flight_Control 2023-04-04 20:11:09 +0200
  • a6b021aaf0 Merge branch 'jesper_baseline' into far-call-isolated-#508 Flight_Control 2023-04-04 20:03:15 +0200
  • 5bd84e7812 - Added test cases. - Checked asm outputs. - banking is only implemented for the cx16 for now. Flight_Control 2023-04-04 19:36:11 +0200
  • f2b9b5bde7 FlightControl fix for #678. Improved doc. jespergravgaard 2023-04-04 13:18:58 +0200
  • b85e6fc715 FlightControl fix for #678. jespergravgaard 2023-04-04 13:11:36 +0200
  • 3c52043744 FlightControl fix for #678. jespergravgaard 2023-04-04 12:54:28 +0200
  • 5c86d25057 FlightControl fix for #678. jespergravgaard 2023-04-04 12:45:38 +0200
  • c5f260e882 Implemented C99 compatible union initializer method. - Added test cases. - Reworked parser. - Added code redesign to avoid crashes in Initializers.java. Flight_Control 2023-04-04 09:30:40 +0200
  • 08ed1deebd Working on #372 varcall. Struct of struct parameters working. jespergravgaard 2023-04-03 10:37:54 +0200
  • 9db2d9b960 Implemented C99 compatible union initializer method, using .member= syntax... Flight_Control 2023-04-03 08:38:16 +0200
  • 51623c3657 Implemented C99 compatible union initializer method, using .member= syntax... Sven Van de Velde 2023-04-02 12:43:18 +0200
  • 594e8d688c Working on #372 varcall. Pointers to struct working. jespergravgaard 2023-04-02 12:18:33 +0200
  • 2dd2f2e081 Working on #372 varcall. Fixed struct in/out by value - also when only called once. jespergravgaard 2023-04-02 11:18:07 +0200
  • 9a85048003 Working on #372 varcall. Fixed struct in/out by value - also when only called once. jespergravgaard 2023-04-02 11:17:57 +0200
  • c9720722ad Working on #372 varcall. Fixed problem with returning a struct by value. jespergravgaard 2023-04-01 19:30:19 +0200
  • 7e5b2caa37 Optimized logic for speed Flight_Control 2023-04-01 07:00:58 +0200
  • b9943f65c5 Fixed issue with intermediate variables placed in functions, and referenced from other functions (happens in optimizations of parameters passed). Flight_Control 2023-03-30 18:26:41 +0200
  • ef50820799 - Add scope to local labels to clarify assembler output. Flight_Control 2023-03-29 08:08:31 +0200
  • fb77d7629d - Optimized the speed of the compilation by reducing the zp coalesce to only zeropage allocated registers. - All mem[x] type allocated memory or registers is ignored. Flight_Control 2023-03-29 07:00:14 +0200
  • 4706611564 - Mem[x] parameters in a banked function are always allocated in main memory. - Mem[x] return value(s) in banked functions are always allocated in main memory. - Mem[x] intermediate value(s) in banked functions are always placed in the designated data segment. Flight_Control 2023-03-27 21:42:52 +0200
  • b650ba99a9 - Fix far call kernal servicing address! It was wrong! Now it's fixed! Flight_Control 2023-03-26 18:31:47 +0200
  • 2513e59266 - Inline code can never be banked. Flight_Control 2023-03-26 18:30:53 +0200
  • f81c5ce040 Adding the fix code segment in far call bank. Added the currentBankLocation to the procedure definition. Flight_Control 2023-03-26 18:30:09 +0200
  • 944fbd3021 - removed gen files Flight_Control 2023-03-26 10:30:23 +0200
  • 19b8de78a4 Merge commit 'db49ca6aabe96f0ca9ec355f33a4fadf33324f93' into far-call-isolated Flight_Control 2023-03-26 09:52:14 +0200
  • db6adeec05 - Fixed problem when referenced constant name in the asm is part of a smaller constant declared outside of the asm. Each referenced constant in the asm must start with the constant name, and can never be in the middle of the operand. Flight_Control 2023-03-21 14:58:49 +0100
  • 64d30faf9c - Added comments and restructured the code in the compiler for constant references in asm fragments placed in inline function scopes. Flight_Control 2023-03-21 06:53:20 +0100
  • e78a470f01 Merge branch 'arg-parser-800' into 'master' Mark Fisher 2023-02-18 18:48:41 +0000
  • 7098b28cb2 Merge branch 'error-handling' into 'master' Jesper Balman Gravgaard 2023-02-18 18:48:24 +0000