whoops missed a few cycs
This commit is contained in:
parent
2340f8210e
commit
c7e7129eb2
1 changed files with 4 additions and 2 deletions
6
mandel.s
6
mandel.s
|
@ -192,7 +192,7 @@ next:
|
||||||
; zx_zy = 0
|
; zx_zy = 0
|
||||||
|
|
||||||
loop:
|
loop:
|
||||||
; 1627 - 2603 cyc
|
; 1652 - 2651 cyc
|
||||||
|
|
||||||
; iters++ = 2 cyc
|
; iters++ = 2 cyc
|
||||||
|
|
||||||
|
@ -207,7 +207,9 @@ loop:
|
||||||
; dist = zx_2 + zy_2 = 38 cyc
|
; dist = zx_2 + zy_2 = 38 cyc
|
||||||
; if dist >= 4 break, else continue iterating = 7 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
|
; if may be in the lake, look for looping output with a small buffer
|
||||||
; as an optimization vs running to max iters
|
; as an optimization vs running to max iters
|
||||||
|
|
Loading…
Reference in a new issue