🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #21907

Re: Integer Multiply/Divide on Sparc

#21907
From: Steve Vestal
Date: Tue, 02 Jan 1990 17:58
17 lines
1439 bytes
In article <1296@quintus.UUCP> ok@quintus.UUCP (Richard A. O'Keefe) writes:
>   Fortran 8X and Ada also allow arrays with dynamic bounds.
>   [...]
>	   real array a[1:P,1:Q,1:R];

I believe that induction variable optimizations, which replace multiplications
by additions for certain array address computations within loops, work just
fine even with dynamic bounds.  My limited experience evaluating such
optimizations has been that they are surprisingly widely applicable for
matrix/vector manipulation code.  Personally, I suspect explicit
multiplies/divides/mods/rems in the application code might be the hazard to
watch out for rather than integer multiplications used in addressing
computations.

Steve Vestal
Mail: Honeywell S&RC MN65-2100, 3660 Technology Drive, Minneapolis MN 55418 
Phone: (612) 782-7049                    Internet: vestal@src.honeywell.com
Technical Details
Message-ID: <52075@srcsip.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!srcsip!klemmer!vestal
References: <84768@linus.UUCP> <8840004@hpfcso.HP.COM> <1804@l.cc.purdue.edu> <1535@cbnewsi.ATT.COM> <28548@amdcad.AMD.COM> <1989Dec30.161619.22893@phri.nyu.edu> <1296@quintus.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!srcsip!klemmer!vestal
From: vestal@SRC.Honeywell.COM (Steve Vestal)
Newsgroups: comp.arch
Subject: Re: Integer Multiply/Divide on Sparc
Message-ID: <52075@srcsip.UUCP>
Date: 2 Jan 90 17:58:52 GMT
References: <84768@linus.UUCP> <8840004@hpfcso.HP.COM> <1804@l.cc.purdue.edu> <1535@cbnewsi.ATT.COM> <28548@amdcad.AMD.COM> <1989Dec30.161619.22893@phri.nyu.edu> <1296@quintus.UUCP>
Sender: news@src.honeywell.COM
Lines: 17
In-reply-to: ok@quintus.UUCP's message of 1 Jan 90 01:24:04 GMT