How many cycles to load and store on a SPARCstation?

Eric Parker vitec!eric at uunet.uu.net
Wed Mar 27 02:00:00 AEST 1991


Here is a program that I wrote to benchmark loads and stores on various
machines.  By inspecting the assembler output (cc -S option) I was able to
determine that the Sun Sparcstation machines using the LSI chipset take 2
cycles for a cache hit read and 6 for a cache hit write.  The read has no
load delay slot (i.e. the processor is stalled while the cache system does
the read).  The write has one delay slot (so back to back writes take 6
clocks).

Hope this helps.

- Eric Paker
(214) 985-2217

[[Ed's Note: Placed in archives on titan. -bdg]]

FTP:	Hostname : titan.rice.edu (128.42.1.30)
	Directory: sun-source
	Filename : ldstr.c
	Filesize : 7064 bytes

Archive Server Address: archive-server at rice.edu
Archive Server Command: send sun-source ldstr.c



More information about the Comp.sys.sun mailing list