|
Boost : |
Subject: Re: [boost] [GSoC] SIMD proposal
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-03-24 05:32:45
On 24/03/2011 01:16, Gruenke, Matt wrote:
> cpuid? It seems to me that the *only* thing that should determine how the program gets compiled is the compiler flags, since the target platform might have either less or more capability than the build machine. I've experienced both cases, firsthand.
>
> GCC will define the following preprocessor macros, depending on which code generation flags you specify:
>
> __MMX__
> __SSE__
> __SSE2__
> __SSE3__
> __SSSE3__
> __SSE4A__
> __SSE4_1__
> __SSE4_2__
> __AES__
> __PCLMUL__
> __AVX__
But how do you know what flags to pass to GCC in the first place?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk