whoops missed a few cycs

This commit is contained in:
Brooke Vibber 2023-01-05 11:55:41 -08:00
parent 2340f8210e
commit c7e7129eb2

View file

@ -192,7 +192,7 @@ next:
; zx_zy = 0
loop:
; 1627 - 2603 cyc
; 1652 - 2651 cyc
; iters++ = 2 cyc
@ -207,7 +207,9 @@ loop:
; dist = zx_2 + zy_2 = 38 cyc
; if dist >= 4 break, else continue iterating = 7 cyc
; shift and round zx_2, zy_2, dist up to 4.12 = 2 * (20 + 5) - 2 * (20 + 28) = 50 - 96 cyc
; shift and round zx_2 to 4.12 = (20 + 5) - (20 + 28) = 25 - 48 cyc
; shift and round zy_2 to 4.12 = (20 + 5) - (20 + 28) = 25 - 48 cyc
; shift and round zx_zy to 4.12 = (20 + 5) - (20 + 28) = 25 - 48 cyc
; if may be in the lake, look for looping output with a small buffer
; as an optimization vs running to max iters