Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fastest way to find max element in vector



Thanks!
This is exactly what i wanted.
Ironicaly, i had the similar code (two vec_sld) to sum across the vector register, but didnt realized its possible to use this method for searcing min/max :)


--
Sincerely,
	Rustam Muginov

On Nov 21, 2005, at 7:34 PM, David Gohara wrote:


        mVec = vec_max(mVec,vec_sld(mVec,mVec,8));
        mVec = vec_max(mVec,vec_sld(mVec,mVec,4));


_______________________________________________ Do not post admin requests to the list. They will be ignored. PerfOptimization-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden
References: 
 >Fastest way to find max element in vector (From: Rustam Muginov <email@hidden>)
 >Re: Fastest way to find max element in vector (From: Rustam Muginov <email@hidden>)
 >Re: Fastest way to find max element in vector (From: David Gohara <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.