Confession . Hey I found a use for AoA !

From: The Half A Wannabee ("The)
Date: 02/29/04


Date: Sun, 29 Feb 2004 08:00:42 +0100

You know, beyond beeing a 3 pound sleeping tablet ?

This morning I implemented a 64bit IntegerToString, without using the FPU.
It is TWICE as fast as the FPU, and I have to admit that I found the theory
for it in no less then AoA. So Randall. This time I owe you one. And I must
take back that AoA is not useful beyond chapter 3. But I must still say that
the code listed on page 838 in the version I got, is written in HLA and is
was *very hard* for me to understand. Because Randy is doing everything
backwards, its sometimes very easy to get lost for a beginner to assembly
like me. The syntetic syntax of HLA code, is not a extremly good idea, imo.
But anyway, the algorytm was good, and was twice the speed of my FPU
approach. And the best thing about it, is that it is extendable to any
bitsize integer division, with some small adjustments.

A question to the diehard asm programmers. Can the FPU be allways avoided,
with speed benefits like this ?