[cfe-dev] Can't build ASAN tests on i586 without SSE2

Kostya Serebryany kcc at google.com
Wed Dec 4 02:54:46 PST 2013


__i686__ sounds quite reasonable, try r196375.


On Wed, Dec 4, 2013 at 2:53 PM, İsmail Dönmez <ismail at donmez.ws> wrote:

>
>
>
> On Wed, Dec 4, 2013 at 12:43 PM, İsmail Dönmez <ismail at donmez.ws> wrote:
>
>>
>>
>>
>> On Wed, Dec 4, 2013 at 12:40 PM, Kostya Serebryany <kcc at google.com>wrote:
>>
>>> Does the following work for you?
>>>
>>>
>> I will try that but why not just
>>
>> #if defined(__i686__) || defined(__x86_64__)
>>
>> Since AFAIK the lowest arch having SSE support is i686 anyway.
>>
>> Thanks.
>>
>>
> Btw, there are even better defines for SSE/2 support:
>
> > gcc -dM -E - < /dev/null|grep -i sse
> #define __SSE2_MATH__ 1
> #define __SSE_MATH__ 1
> #define __SSE2__ 1
> #define __SSE__ 1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131204/9b6e0b4e/attachment.html>


More information about the cfe-dev mailing list