From 6edd2f71d9af12cbebe1ae9a9ecd002b2ff2e7e6 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 4 Jan 2023 21:26:47 -0800 Subject: [PATCH] whoops added wrong --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6141e58..5225f4d 100644 --- a/readme.md +++ b/readme.md @@ -21,7 +21,7 @@ The 16-bit signed integer multiplication seems to be working, though I need to d The main loop is a basic add-and-shift, using 16-bit adds which requires flipping the sign of negative inputs (otherwise you'd have to add all those sign-extension bits). Runs in 470-780 cycles depending on input. -The loop is unrolled which saves 228 cycles, but at the cost of making the routine quite large. This is an acceptable tradeoff for the Mandelbrot, where imul16 is the dominant performance cost and the rest of the program will be small. +The loop is unrolled which saves 148 cycles, but at the cost of making the routine quite large. This is an acceptable tradeoff for the Mandelbrot, where imul16 is the dominant performance cost and the rest of the program will be small. The mandelbrot loop is partly sketched out but I have future updates to make on that.