From 57a9fed42b2ee1290287a142aff3f514836c9387 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sat, 6 Nov 2021 19:09:33 +0100 Subject: [PATCH] todo --- docs/source/todo.rst | 8 ++++---- examples/test.p8 | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/source/todo.rst b/docs/source/todo.rst index 1cca5d9e4..626938f06 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -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 diff --git a/examples/test.p8 b/examples/test.p8 index c88742b95..1271eb37e 100644 --- a/examples/test.p8 +++ b/examples/test.p8 @@ -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))