🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #20769

MIPS R2000 mul/div

#20769
From: David Bradlee
Date: Sat, 15 Apr 1989 18:48
14 lines
1102 bytes
Does anyone know how long the integer multiply and divide instructions take
on the MIPS R2000?  Kane's book has examples in which the the MFLO to
retrieve the result be issued at least 11 cycles after the MULT.  Other
examples say 12.  For the divide, there is no indication anywhere.  

Also, why is there a 2-cycle delay between a MFLO and a subsequent MULT,
while there is no delay between the MFLO r5 and an ADD r6,r5,r4?  For the
latter to be true the value has to be available (extracted from LO) at
the end of MFLO's ALU cycle.  If the mult were issued on this same cycle
(i.e. with a 1-cycle delay), it seems as if it could not affect the
extracted value, even if an interrupt occurred.  Thanks very much.

	-- Dave Bradlee
	   University of Washington
Technical Details
Message-ID: <7879@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!uw-june!dgb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!uw-june!dgb
From: dgb@june.cs.washington.edu (David Bradlee)
Newsgroups: comp.arch
Subject: MIPS R2000 mul/div
Message-ID: <7879@june.cs.washington.edu>
Date: 15 Apr 89 18:48:52 GMT
Organization: U of Washington, Computer Science, Seattle
Lines: 14