whoops added wrong
This commit is contained in:
parent
373e1441d3
commit
6edd2f71d9
1 changed files with 1 additions and 1 deletions
|
@ -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 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.
|
The mandelbrot loop is partly sketched out but I have future updates to make on that.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue