This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org
- From: PaweÅ Sikora <pluto at agmk dot net>
- To: <gcc at gcc dot gnu dot org>
- Cc: <jakub at redhat dot com>
- Date: Thu, 17 Apr 2014 11:38:18 +0200
- Subject: Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org
- Authentication-results: sourceware.org; auth=none
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?
BR,
PaweÅ.
cpu.h @ cryptopp:
(...)
#if !defined(__GNUC__) || defined(__SSSE3__) ||
defined(__INTEL_COMPILER)
#include <tmmintrin.h>
#else
__inline __m128i __attribute__((__gnu_inline__, __always_inline__,
__artificial__))
_mm_shuffle_epi8 (__m128i a, __m128i b)
{
asm ("pshufb %1, %0" : "+x"(a) : "xm"(b));
return a;
}
#endif
(...)