Re(2): AltiVec optimization in Cocoa?
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.