From f6489670b117f8c4a2463a81c62c7af4b135852e Mon Sep 17 00:00:00 2001 From: Brooke Vibber Date: Sat, 22 Aug 2026 15:58:17 -0700 Subject: [PATCH] comments --- mandel-core.s | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mandel-core.s b/mandel-core.s index f021749..ddcd7fc 100644 --- a/mandel-core.s +++ b/mandel-core.s @@ -793,14 +793,18 @@ inner_loop: ; h1*256*(h2*256 + l2) + l1*(h2*256 + l2) ; h1*h2*256*256 + h1*l2*256 + h2*l1*256 + l1*l2 + ; l1 * l2 imul8 result, arg1, arg2, xe ; 81-92 or 52-69 + ; 256 * 256 * h1 * h2 imul8 result + 2, arg1 + 1, arg2 + 1, xe ; 81-92 or 52-69 + ; 256 * h1 * l1 imul8 inter, arg1 + 1, arg2, xe ; 81-92 or 52-69 add16 result + 1, result + 1, inter ; 20 cyc add_carry result + 3 ; 2-7 cyc + ; 256 * l1 * h2 imul8 inter, arg1, arg2 + 1, xe ; 81-92 or 52-69 add16 result + 1, result + 1, inter ; 20 cyc add_carry result + 3 ; 2-7 cyc @@ -842,10 +846,13 @@ arg2_pos: ; h*256*(h*256 + l) + l*(h*256 + l) ; h*h*256*256 + h*l*256 + h*l*256 + l*l + ; l * l sqr8 result, arg ; 19 cyc + ; 256 * 256 * hl * hl sqr8 result + 2, arg + 1 ; 19 cyc + ; 2 * h * l * 256 imul8 inter, arg + 1, arg, xe ; 81-92 / 52-69 cyc add16 result + 1, result + 1, inter ; 20 cyc add_carry result + 3 ; 2-7 cyc