Re: Does Xcode 4 have support for AVX ?
Re: Does Xcode 4 have support for AVX ?
- Subject: Re: Does Xcode 4 have support for AVX ?
- From: Paul Russell <email@hidden>
- Date: Thu, 10 Mar 2011 18:44:36 +0000
I eventually cracked and downloaded Xcode 4 - it looks like clang is the only compiler that may support AVX, although I haven't tested it properly:
$ clang -dM -E -mavx - < /dev/null | grep -i avx
#define __AVX__ 1
Paul
On 10 Mar 2011, at 11:41, Jean-Daniel Dupas wrote:
>
> I know there is works on AVX on llvm (and so clang) but I don't know what the status of this feature and I don't know if Xcode include a version that support it (if one exists).
>
> Alternatively, you can isolate you AVX code in asm files that you compile using yasm (which support AVX for some times now).
>
> Le 10 mars 2011 à 09:55, Paul Russell a écrit :
>
>> So no AVX support then ? How about the other compilers - any AVX support there ?
>>
>> Thanks,
>>
>> Paul
>>
>> On 10 Mar 2011, at 08:53, Jean-Daniel Dupas wrote:
>>
>>> Le 10 mars 2011 à 09:44, Paul Russell a écrit :
>>>
>>>> Before I spend time and money downloading Xcode 4, can anyone tell me whether it comes with a version of gcc which supports the AVX instruction set on Sandy Bridge CPUs (i.e. gcc -mavx on mainstream gcc builds) ? I don't seen any public release notes anywhere so it's not easy to check, and I don't really need Xcode 4 yet unless it has AVX support.
>>>
>>>
>>> It comes with GCC 4.2.1 which is the last version Apple will ever distribute (as this is the last version using GPL2).
>>>
>>> -- Jean-Daniel
>>>
>>>
>>>
>>>
>>>
>>
>
> -- Jean-Daniel
>
>
>
>
>
_______________________________________________
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