Re: XCode and SSE4.1?
Re: XCode and SSE4.1?
- Subject: Re: XCode and SSE4.1?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 26 Nov 2008 16:02:23 +0100
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
Le 26 nov. 08 à 15:39, Robert Monaghan a écrit :
Hi Jan,
I thought that was the case.. What do I need to do to get this
working in my project?
SSE4_1 define doesn't seem to want to play ball for me.
bob.
On Nov 26, 2008, at 1:22 AM, Jan E. Schotsman wrote:
Chris Espinosa wrote:
gcc 4.2 doesn't have support for SSE4. The FSF has SSE4 support in
the gcc 4.3 codebase, but we haven't released that in Xcode.
I don't understand. I am using it here.
#if __SSE4_1__
#include <smmintrin.h>
// SSE4 code
#endif
This compiles and I can step through it in the debugger.
/Developer/usr/lib/gcc/i686-apple-darwin9/4.2.1/include/smmintrin.h
I am using XCode 3.1.1 on a MacPro3,1. For testing you need a
Penryn processor of course.
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:
@gluetools.com
This email sent to email@hidden
_______________________________________________
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
_______________________________________________
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