Article View: comp.sys.mac.programmer.help
Article #57Re: [Altivec Newbie] optimizing current code?
From: Dave Howell
Date: Thu, 18 Jan 2001 10:42
Date: Thu, 18 Jan 2001 10:42
13 lines
1763 bytes
1763 bytes
> > Personally, I try to keep things to one AltiVec instruction per line. > > It helps me optimize later, but there's no reason you have to do it > > that way. > > CodeWarrior does a reasonable job at scheduling if you write in C, so I am > curious how keeping things one per line helps you optimize. Ian, you misunderstood. He didn't say it helps CodeWarrior to optimize, but that it helped HIM to optimize. If your code is written one instruction per line, it's easier from an editing standpoint to reorder operations later, than if you have to edit complex vector expressions. Dave
Technical Details
Message-ID:
<180120010242044690%dave@noreturnaddress.nulldev>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!sjc1.nntp.concentric.net!newsfeed.concentric.net!global-news-masterReferences:
<943r3l$hn2$1@nnrp1.deja.com> <170120011731277716%dcardani@buena.spamfree.com> <Pine.SGI.4.30.0101171735050.41019-100000@helix2.caltech.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 101ec9,a6671d8e4f3ed02f X-Google-Attributes: gid101ec9,public X-Google-Thread: 10bcce,a6671d8e4f3ed02f X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,a6671d8e4f3ed02f X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2001-01-18 02:44:01 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!sjc1.nntp.concentric.net!newsfeed.concentric.net!global-news-master From: Dave Howell <dave@noreturnaddress.nulldev> Newsgroups: comp.sys.mac.programmer.help,comp.sys.mac.programmer.codewarrior,codewarrior.mac Subject: Re: [Altivec Newbie] optimizing current code? Date: 18 Jan 2001 10:42:05 GMT Organization: Concentric Internet Services Lines: 13 Message-ID: <180120010242044690%dave@noreturnaddress.nulldev> References: <943r3l$hn2$1@nnrp1.deja.com> <170120011731277716%dcardani@buena.spamfree.com> <Pine.SGI.4.30.0101171735050.41019-100000@helix2.caltech.edu> NNTP-Posting-Host: 209.220.75.58 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: YA-NewsWatcher/5.0.1