🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #896

Re: altiVec & memset

#896
From: Josef W. Wankerl
Date: Wed, 20 Nov 2002 16:14
19 lines
1626 bytes
In article <729e8c9a.0211200337.6224abf5@posting.google.com>,
 raz_m@bigfoot.com (raz m) wrote:

> Is the basic function memset() vectorized?

The MSL version is not.  If you're using StdLib or the Mach-O BSD lib, I 
think they might be.

> Is there a need for enabling the Altivec compile settings (and which ones),
> for using vectorized memset()?

No.  You only need to enable AltiVec compiler settings if you are trying 
to vectorize your own code.  There is no need to enable it for code in 
other libraries.

> or I have to write by myself.

It's your call.  Use the standard functions, and if they don't provide 
enough performance for you, feel free to rewrite them yourself.
Technical Details
Message-ID: <jwankerl-3D6589.10145220112002@news.mtwk.sps.mot.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!jwankerl
References: <729e8c9a.0211200337.6224abf5@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f635e,5f7bcee88f5b1893
X-Google-Attributes: gidf635e,public
X-Google-Thread: 10bcce,5f7bcee88f5b1893
X-Google-Attributes: gid10bcce,public
X-Google-ArrivalTime: 2002-11-20 08:14:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!jwankerl
From: "Josef W. Wankerl" <jwankerl@metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: altiVec & memset
Date: Wed, 20 Nov 2002 10:14:53 -0600
Organization: Metrowerks
Message-ID: <jwankerl-3D6589.10145220112002@news.mtwk.sps.mot.com>
References: <729e8c9a.0211200337.6224abf5@posting.google.com>
User-Agent: MT-NewsWatcher/3.1 (PPC)
X-Face: $0ZK@6j8!K_qQ?K=Nso!3F$R|G%n,RN33{dAizcE/B:J"DncL]}Xq"|CD?@:>        ng-XNbhIG5Tu]xBZq*1yhf>D{O$`O+(?Se`y
X-Complaints-To: abuse@supernews.com
Lines: 19