Boost logo

Boost :

Subject: Re: [boost] [GSOC]SIMD Library
From: Cory Nelson (phrosty_at_[hidden])
Date: 2011-03-31 19:12:27

On Thu, Mar 31, 2011 at 3:07 AM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> On 31/03/2011 11:47, Cory Nelson wrote:
>> What would ever make intrinsics improper?
> GCC generates a compile-time error if you include the intrinsics files
> without the right option (-msse2 or similar) enabled with the compiler.
> For this reason, we took care of only including the files requested by the
> instruction set the user has chosen.
> Now then, I guess it would always be possible to cheat and redefine those
> things.

Is there a way to detect those compile options? I think it would be
acceptable to just disable any support for them if -msse etc. aren't
given, and put a warning in the docs explaining it. Does -msse/etc.
only enable those intrinsics, or does GCC actually try to use them
during code gen for plain C++?

Cory Nelson

Boost list run by bdawes at, gregod at, cpdaniel at, john at