• 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: Enabling SSE with Release build Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Enabling SSE with Release build Configuration (From: Ries Brad <email@hidden>)
 >Re: Enabling SSE with Release build Configuration (From: Eric Albert <email@hidden>)
 >Re: Enabling SSE with Release build Configuration (From: Ries Brad <email@hidden>)

  • Prev by Date: Re: Enabling SSE with Release build Configuration
  • Next by Date: Dumb code navigation question
  • Previous by thread: Re: Enabling SSE with Release build Configuration
  • Next by thread: Bug: Debugger doesn't correctly show static variables with member function scope
  • Index(es):
    • Date
    • Thread