• 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(2): AltiVec optimization in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): AltiVec optimization in Cocoa?


  • Subject: Re(2): AltiVec optimization in Cocoa?
  • From: Jens Bauer <email@hidden>
  • Date: Sun, 19 May 2002 21:56:13 +0200

Hi David,

On Sun, 19 May, 2002, David Remahl <email@hidden> wrote:

>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.

If the -faltivec doesn't do anything to the generated code, ehm, why is
this switch added ? :)
-I would expect that if you did write your code, so the compiler could
recognize that it would be possible to altivec-optimize it, it would; but
only if there are benefits in this optimization.
No need to optimize one load-modify-and-store operation if it's used only
once. ;)
-In other words; I would not expect a "controller", which is just telling
other objects what to do, to be altivec-optimized at all.
(Am I completely misunderstanding this ?)


Love,
Jens

--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
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: Re(2): AltiVec optimization in Cocoa?
      • From: David Remahl <email@hidden>
References: 
 >Re: AltiVec optimization in Cocoa? (From: David Remahl <email@hidden>)

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