SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Politics : Formerly About Advanced Micro Devices

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Time Traveler who wrote (24092)10/7/1997 1:07:00 AM
From: Petz   of 1573048
 
RE: square root in 5 clock cycles, JYW, you forgot that computers use powers of 2 not powers of 10!

2.0 = 0.5 * 2**2

Initial estimate of manissa = (0.5+1)/2= 0.75 (did I have sign wrong?)
Expopnent = 2/2 = 1
Thus my initial estimate is 1.5, which is about 6% too high

Because of some other details, like making sure the exponent is even before dividing by two, the initial estimate may be computed more quickly by a table lookup, as you'll see in my second post.

I said, "Obviously you've never done microcode for floating point functions, huh"

No, but how about yourself?

Yes, for two years in my last job, I programmed microcode (320 bits wide) for an array processor. BTW, it used AMD FPU chips and took five clock cycles to do a square root! (Back in those days, clock speed was only 10 MHz.)

Petz
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext