about summary refs log tree commit diff stats
path: root/prototypes/tile/5.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-16 18:33:57 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-16 18:34:54 -0700
commit797c93e054d210a6d595f0b57fd3d9adb9669d8c (patch)
tree1cd20170a27a7df7711eb1884d931628878a48ed /prototypes/tile/5.mu
parent9b873e3bcddf34d5b6d60e66838d71dd46de51f4 (diff)
downloadmu-797c93e054d210a6d595f0b57fd3d9adb9669d8c.tar.gz
6793
Diffstat (limited to 'prototypes/tile/5.mu')
-rw-r--r--prototypes/tile/5.mu12
1 files changed, 0 insertions, 12 deletions
diff --git a/prototypes/tile/5.mu b/prototypes/tile/5.mu
index 941f132e..a49c4922 100644
--- a/prototypes/tile/5.mu
+++ b/prototypes/tile/5.mu
@@ -113,18 +113,6 @@ fn tree-depth node-on-stack: (addr cell) -> result/eax: int {
   result <- increment
 }
 
-# slow, iterative divide instruction
-fn try-divide _nr: int, _dr: int -> result/eax: int {
-  result <- copy _nr
-  result <- shift-right 2
-#?   var nr/ecx: int <- copy _nr
-#?   var tmp/ecx: int <- copy 2
-#?   # find nearest power of 2
-#?   {
-#?     k
-#?   }
-}
-
 fn draw-box row1: int, col1: int, row2: int, col2: int {
   draw-horizontal-line row1, col1, col2
   draw-vertical-line row1, row2, col1