• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AltiVec optimization in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AltiVec optimization in Cocoa?


  • Subject: Re: AltiVec optimization in Cocoa?
  • From: David Remahl <email@hidden>
  • Date: Sun, 19 May 2002 21:36:08 +0200

It will work just as well, but you will have to provide alternative
functions for processors without the altivec extensions. There are examples
of how to check for the presence of altivec using the Gestalt manager and
using bsd calls.

Just enabling -faltivec won't do anything to the generated code. Any
optimized code in the Cocoa frameworks will be used just as well.

/ David

> What does this "do" to people running G3 processors? Do you have to compile
> two versions, or does the G3 just process the vector stuff sequentially
> instead?
>
> fillup
>
> On 5/19/02 9:16 AM, "email@hidden" <email@hidden> wrote:
>
>> Can't you use GCC3 and use the flag -faltivec? It is slows it down a
>> ton because it can't use the precompiled headers, but it also seems to
>> deliver better performance on my G4.
>>
>> Owen Anderson
>>
>> On Sunday, May 19, 2002, at 07:08 AM, Fred Mandrea wrote:
>>
>> + Mamdouh ; <email@hidden> wrote:
>>
>> Is there away to optimize Cocoa Apps for the velocity engine (AltiVec)?
>> Or is it already done for us (I doubt it, but i still hope :)
>>
>> I guess Cocoa routines are (at least partly) optimized for Altivec. But
>> to
>> optimize your own computations, I think there's no other way than
>> explicit
>> use of Altivec functions.
>>
>> To get started with Altivec, you may take a look at this article on
>> O'Reilly
>> network : <http://www.macdevcenter.com/pub/a/mac/2002/04/05/altivec.html>
>>
>> (and then, of course, you should visit Apple's Altivec home page :
>> <http://developer.apple.com/hardware/ve/>)
>>
>>
>> HTH,
>> --
>> Fred
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re(2): AltiVec optimization in Cocoa?
      • From: Jens Bauer <email@hidden>
References: 
 >Re: AltiVec optimization in Cocoa? (From: Phillip Morelock <email@hidden>)

  • Prev by Date: Re: Utility window architecture question
  • Next by Date: Re: AltiVec optimization in Cocoa?
  • Previous by thread: Re: AltiVec optimization in Cocoa?
  • Next by thread: Re(2): AltiVec optimization in Cocoa?
  • Index(es):
    • Date
    • Thread