Boost logo

Boost :

Subject: Re: [boost] [random] parallel random number generators
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-01-29 19:19:26

On 01/29/2012 05:47 PM, John Salmon wrote:

> The -maes option is gcc-specific. The Intel compiler, for example, does
> not have an analogous command line option. Unlike with gcc, you can
> #include<wmmintrin.h> and you can use the _mm_aesenc_si128() without any
> command line option.

I'd avoid to rely on compiler-specific behaviour.

> I think that it's important for the library to allow the programmer the
> opportunity to decide about AESNI at compile-time, and also to allow the
> programmer to defer the decision till runtime.

Allowing the user to choose at compile-time is enough, since the user
can build runtime selection on top of that.

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