W dniu 2014-04-17 12:13, Jonathan Wakely napisał(a):
On 17 April 2014 10:38, Paweł Sikora wrote:
Hi,
the opt_random.h header includes <x86intrin.h> unconditionally and
breaks
crytopp build
(redefinition of _mm_shuffle_epi8 in cpu.h).
could you please add #ifdef __SSSE3__ around this include?
Do you mean __SSE3__ not __SSSE3__?
yes, __SSE3__.
That's the macro that controls whether the
config/cpu/i486/opt/bits/opt_random.h header actually uses the
intrinsics or not:
namespace std _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
#ifdef __SSE3__
template<>
template<typename _UniformRandomNumberGenerator>
void
normal_distribution<double>::