Re: XCode and SSE4.1?
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