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: Accelerate library



On Oct 26, 2004, at 10:54 PM, John Stiles wrote:

Honestly, I was also hoping that vSaxpy would work on G3s as well, sparing me the effort of writing separate code for G3s and G4s. I was under the impression that Accelerate would work on G3s, just more slowly. But looking at the implementation in gdb, it sure looks like it requires a G4 just to get off the ground. (Unless Mach loads in a different library entirely for G3s...??)

Asked a couple of friends to look into it, and it looks like what your seeing is right -- there isn't even a G5 optimized version (assuming that one would be needed). I'd almost recommend that you use the assembly as a starting point to writing your own function, this way you can optimize it as you see fit. Fortunately, the operation you want is fairly straightforward to write code for. You might even get more bang for your buck if you can integrate this function with other operations you need done.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
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: 
 >Accelerate library (From: John Stiles <email@hidden>)
 >Re: Accelerate library (From: David Duncan <email@hidden>)
 >Re: Accelerate library (From: John Stiles <email@hidden>)
 >Re: Accelerate library (From: David Duncan <email@hidden>)
 >Re: Accelerate library (From: John Stiles <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.