This commit is contained in:
Irmen de Jong 2021-11-06 19:09:33 +01:00
parent 18d820da94
commit 57a9fed42b
2 changed files with 8 additions and 4 deletions

View File

@ -3,10 +3,6 @@ TODO
For next compiler release (7.2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- find a way to optimize asm-subroutine param passing where it now sometimes uses the evalstack?
- [complicated?] find a way to optimize if-statement codegen so that "if var & %10000" doesn't use evalstack & subroutine call, but also that the simple case "if X {...}" remains fast
- fix the asm-labels problem (github issue #62)
- start migrating to KoTest library (github issue #70)
- optimize "if not x" / "while not x" to not actually calculate the whole "not x" value first --> transform in to "x==0" in these conditional statements?
@ -18,6 +14,10 @@ Blocked by Commander-x16 v39 release
Future
^^^^^^
- fix the asm-labels problem (github issue #62)
- start migrating to KoTest library (github issue #70)
- find a way to optimize asm-subroutine param passing where it now sometimes uses the evalstack?
- [complicated?] find a way to optimize if-statement codegen so that "if var & %10000" doesn't use evalstack & subroutine call, but also that the simple case "if X {...}" remains fast
- document the various compiler command line options in more detail. See "Compiling program code" in the docs
- get rid of all TODO's in the code
- improve testability further, add more tests

View File

@ -9,6 +9,10 @@ main {
ubyte zz=9
sys.memset(xx+200, yy*2, ~yy)
if yy & %10000 {
yy++
}
@($c030) = 10
@(~xx) *= 2
txt.print_ub(@($c030))