• 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: XCode and SSE4.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode and SSE4.1?


  • Subject: Re: XCode and SSE4.1?
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Thu, 27 Nov 2008 23:50:19 +0100

Jean-Daniel Dupas wrote:

You have to pass the -msse4 gcc option. The built-in 4.2 gcc version accept it and properly define __SSE4_1__ and __SSE4_2__ if you pass this option (but according to Chris message, it may not be fully supported).

If you want only sse4.1 you can also use -msse4.1

I would like to add that there are "Enable SSE3 extensions" and "Enable supplemental SSE3 extensions" checkboxes in the Xcode build settings. (for some reason these are under the "GCC code generation" header whereas "Enable Altivec" is under "GCC language")
I am not sure if checking "Enable supplemental SSE3 extensions" is safe if you want your code to run on Core 1 machines too. Better stay on the safe side and add -mssse3 build flags to the files where you isolate your routines that use SSSE3 instructions.


Jan E.

_______________________________________________
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


  • Prev by Date: post to mailing list
  • Next by Date: Leak in "navigation based application" iPhone template
  • Previous by thread: Re: XCode and SSE4.1?
  • Next by thread: bug in /Developer/Library/uninstall-devtools fails to remove /Developer/Documentation?
  • Index(es):
    • Date
    • Thread