🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #7042

68881 Co-processors

#7042
From: Alex Leavens
Date: Mon, 15 Jan 1990 21:40
28 lines
1659 bytes
One note about 68881 co-processors:
	You should re-write your code to take specific advantage of the
device if it is, in fact, there.  Otherwise, the speed inprovement that
you recieve is not very good.  For example, a fractal tree drawing program
that I wrote does very intensive math calculations:
	strictly in C, it takes about 20 minutes to draw a 'tree'
	in C, but using the 68881 math libraries, takes 13 minutes 
	   (better, but not really all that good)
	re-coding the algorithm to directly access the 68881,
	(ie, load all the registers and do the calculations there),
	it takes under 2 minutes.

Another example is a fast fourier transform program:
	to analyze 64 data points, in C:  appx. 32 seconds
	using the 68881 directly (via
	  C macros):                      .38 seconds (less than
4 tenths of a second).

How you use the 68881 is very important to the performance benefits
you get from it!



-- 
|-------------------------------------------------------------------------|
|--alex | alex@atherton.com |  Caution!  Falling Opinions, next 6 miles   |
|        Now who are you gonna believe--me, or your own lyin' eyes?       |
|-------------------------------------------------------------------------|
Technical Details
Message-ID: <16669@laurel.athertn.Atherton.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!pyramid!athertn!alex

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!pyramid!athertn!alex
From: alex@athertn.Atherton.COM (Alex Leavens)
Newsgroups: comp.sys.atari.st
Subject: 68881 Co-processors
Message-ID: <16669@laurel.athertn.Atherton.COM>
Date: 15 Jan 90 21:40:14 GMT
Reply-To: alex@Atherton.COM (Alex Leavens)
Organization: Atherton Technology, Sunnyvale, CA
Lines: 27