Re: Enabling SSE with Release build Configuration
Re: Enabling SSE with Release build Configuration
- Subject: Re: Enabling SSE with Release build Configuration
- From: Shaun Wexler <email@hidden>
- Date: Sat, 2 Sep 2006 11:20:18 -0700
On Sep 2, 2006, at 9:46 AM, Ries Brad wrote:
Thanks. I had changed this for the Debug settings to x86_64, and
thought it was applied for both. The obvious bugs can be the
hardest sometimes.
The point missed here is that Universal source code needs to bracket
its arch-dependent includes:
#if __ppc__ || __ppc7400__ || __ppc64__ || __ppc970__
# include <ppc_intrinsics.h>
#elif __i386__ || __x86_64__
# include <pmmintrin.h>
#else
# error unsupported architecture
#endif
Don't set them in header search paths or build targets, unless
absolutely necessary, and then only with target keys prepended with _
($CURRENT_ARCH) which selects from arch-specific keys like
HEADER_SEARCH_PATHS_i386, etc.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
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