Re: Compiling simple C code filters to use AltiVec
Re: Compiling simple C code filters to use AltiVec
- Subject: Re: Compiling simple C code filters to use AltiVec
- From: Chris Espinosa <email@hidden>
- Date: Wed, 14 Dec 2005 12:35:00 -0800
On Dec 14, 2005, at 12:27 PM, Robin Lake wrote: I have a number of relatively simple C code "filters" dating back to the 1970's. They compile and run fine using "cc" in Terminal under OS X. One, in particular, uses a lot of math and I would like to recompile it to use the AltiVec processor in my G5.
The tutorials for XCode start off assuming one is building a project, which is a step above what I am used to doing.
Is there a simple, straightforward way to compile my filter and assure it will use the AltiVec?
(Found by the Google search "site:apple.com gcc altivec")
Generally, you #include <altivec.h> and set -maltivec and -mabi=altivec in your command line.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden