From 4094f89d4a023ee13c3ed4905cab316a101b5d30 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Thu, 10 Dec 2020 03:22:43 +0100 Subject: [PATCH] not a bug --- docs/source/todo.rst | 2 ++ examples/cx16/imgviewer/civiewer.p8 | 3 +-- examples/test.p8 | 8 -------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/docs/source/todo.rst b/docs/source/todo.rst index 34da46bf6..9590e6cb7 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -2,6 +2,8 @@ TODO ==== +- optimize away 1 ** x into just 1 and 0 ** x into just 0 +- optimize 2 ** x into (1<> 2 diff --git a/examples/test.p8 b/examples/test.p8 index b3f199b43..eb0c5e457 100644 --- a/examples/test.p8 +++ b/examples/test.p8 @@ -7,14 +7,6 @@ main { sub start() { - ubyte bpp = 7 - uword num_colors = 1 << bpp ; TODO FIX THIS - - txt.chrout('\n') - txt.chrout('\n') - txt.print_uw(num_colors) - txt.chrout('\n') - test_stack.test() }