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

İsmail Dönmez ismail at donmez.ws
Wed Dec 4 02:53:12 PST 2013


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/41d9ca36/attachment.html>


More information about the cfe-dev mailing list