Xref: utzoo comp.lang.c:14372 comp.lang.fortran:1536 comp.arch:7359 Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!cornell!uw-beaver!uw-june!pardo From: pardo@june.cs.washington.edu (David Keppel) Newsgroups: comp.lang.c,comp.lang.fortran,comp.arch Subject: Re: Assembly or .... Summary: Only on wierdo architectures, I guess. Message-ID: <6547@june.cs.washington.edu> Date: 29 Nov 88 18:19:21 GMT References: <1388@aucs.UUCP> <729@convex.UUCP> <1961@crete.cs.glasgow.ac.uk> <8993@smoke.BRL.MIL> <1032@l.cc.purdue.edu> <8938@winchester.mips.COM> <949@taux01.UUCP> Reply-To: pardo@cs.washington.edu (David Keppel) Followup-To: comp.arch Organization: U of Washington, Computer Science, Seattle Lines: 25 >>cik@l.cc.purdue.edu (Herman Rubin) writes: >>>divide a by b, obtaining an integer result i and a remainder c. >>>I know of no machine with this instruction. It is cheap in hardware, >>>and extremely expensive in software--at least 4 instructions. >mash@mips.COM (John Mashey) writes: >>[R2000 has 1-instruction divide that does this ] cjosta@taux01.UUCP (Jonathan Sweedler) writes: >The 32000 series has a DEI (Divide Extended Integer) instruction that >also does this. The rather obscure but still-available VAX series of computers made by a small Nashua, New Hampshire company (Digital Equipment Corporation) introduced the EDIV instruction recently, about 1978. I heard a rumor that (at least in some early/small VAXen) it was faster to do two separate instructions than to use EDIV, although I suspect that this was an artifact of those implementations. Followups to comp.arch. ;-D on ( Now how about that `editpc' opcode? ) Pardo -- pardo@cs.washington.edu {rutgers,cornell,ucsd,ubc-cs,tektronix}!uw-beaver!june!pardo