[comp.sys.amiga.tech] Dhrystones

es1@cunixb.cc.columbia.edu (Ethan Solomita) (12/08/90)

	This is intended for the curious, but I'm sure it'll get
put into the NeXT debate somehow.
	I finally managed to get Dhrystones 2.1 to compile under
SAS/C 5.10A (the most recent patch, which everyone should get,
was essential). The problem was that registerized parameters was
giving me undefined symbols come linker time. The problem is now
gone.
	I am using an Amiga 3000 without burst-mode ram, 25MHz of
course. I specified 68030 specific code. (If anyone has
suggestions for options to use to improve the code speed let me
know, I'm sure I don't have everything in there.) I have added
Forbid() and Permit() to shut off multitasking and improve
results.
	I get 6,900 Dhrystones. When I removed registerized
parameters stack-passing lowered that number by 450
Dhrystones/sec! That's significant.
	Also, despite my expectations to the contrary, running
under 1.3 SLOWED THINGS DOWN. Dhrystones went down to 6,200.
	If someone with an A3000 with burst-mode ram wants to
test out my version to see what the change is, email me and I'll
send it to you. The file is 16K. I can send it ftp or some such.
	-- Ethan

	Woody Allen on Los Angeles:

	"I mean, who would want to live in a place where the only
cultural advantage is that you can turn right on a red light?"