Hi Chris,
I already use SSE3 and SSSE3 in my project, so I am pretty familiar with the process. But I am specifically interested in using SSE4.1. There doesn't appear to be any flags, switches, controls to enable SSE4.x.
I've switched over to GCC 4.2, and a MacOSX 10.5 Base SDK. (It seems that gcc 4.0.x doesn't work with sse4) However, I can't seem to get code between __SSE4_1__ defines to compile.
I've followed the macresearch webpage, but it doesn't really seem to make any difference. While geared for Tiger and SSSE3, it doesn't really describe what the User Defined Settings actually do. Especially when trying to adapt them to SSE4.
bob..
On Nov 25, 2008, at 6:21 PM, Chris Espinosa wrote: On Nov 25, 2008, at 5:28 PM, Robert Monaghan wrote: Is there some instructions for adding SSE4.1 support to XCode 3.1.x projects?
See "Programming SSE in C" in the AlitVec/SSE Migration Guide
Also, what defines should be used to compile SSE4 intrinsics?
Add -msse3 to Other C Flags.
But before you go to all the trouble, read Mac OS X Manual Page For SSE4 and see what higher-level frameworks Apple has already built, tuned, and optimized for portability across the many chipsets available in Macs.
Chris
|