Al Aburto 'ala' on BIX 05 Aug 1989 Hello Fellow Amigeans! AmigaBench is a program in which I intended to include 680X0 Amiga assembly optimized versions of the more popular so-called 'benchmark' programs. I've only made it to the Dhrystone so far, but I thought the results are interesting enough to upload what I got now. Besides I think someone like 'Jez' could find even more optimizations to do :-). AmigaBench will run from Workbench or the CLI/AmigaShell. I included a dumb ICON, executable file, and the assembly source code. Its all public domain of course. Just type '?' and hit the RETURN key and a list of the program commands will be printed to the screen. (1) The 'ca' command just shows you where in memory the program was loaded (_main), the addresses of some of the routines, and the location of the global data (_A4Ref). (2) The 'cs' command prints out the Cache Status if you have an 020 or 030 CPU. (3) The 'wc' command allows you to Write to the Cache (if you have an 020 or 030 CPU). For example '51' will turn the 'Write Allocate' feature ON, and '50' will turn it OFF. The various options are shown. (4) The '1' command runs what I call the 'Standard 68000 Assembly Version' of the Dhrystone. The run time in TICKS and the Dhrystones/sec are printed out. Also your CPU/FPU type is printed out. I don't check for the 68030 and 68882 in the program (I have another independent program in my startup-sequence that I use). So if the ExecBase flags are not set right AmigaBench will not report the 68030 or 68882 even if they are really installed. I'll fix this later. (5) The '2' command runs an 'Optimized 68000 Assembly Version' of the Dhrystone. (6) The '3' command runs an 'Optimized 68020 Assembly Version' of the Dhrystone. This should be the fastest version on those 020 and 030 systems. That's it for now. I'm getting about 5400 Dhrystones/sec from my CSA 14.32 MHz 68020 board with 32-bit fast static RAM. I'm sure Ronin will be faster and the GVP 030 really fast at 25 MHz or more. Post or send me results please. Al Aburto 05 Aug 1989