bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Re: Build Issues (mcrypt, sse/sigmoid)


From: Michael Petch
Subject: Re: [Bug-gnubg] Re: Build Issues (mcrypt, sse/sigmoid)
Date: Sun, 21 Jun 2009 18:40:17 -0600
User-agent: Microsoft-Entourage/12.19.0.090515


Besides putting a potential ifdef in neuralnetsse.c (like below) I discovered one other glitch. If you enable SSE2 (via —enable-sse=sse2) there appears to be a bug in the configure.in where the Makefiles are generated with –msse instead of –msse2. My opinion is this. Configure.in logic should simply be modified to reuse SSE_FLAGS so that if SSE2 is being used SSE_FLAGS should be –msse2, and if its just SSE then it should be –msse  (and blank otherwise) . I believe SSE2_CFLAGS is not needed.

#ifdef USE_SSE2
#include <emmintrin.h>
#else
#include <xmmintrin.h>
#endif

I have put away these changes. If there are any issues please feel free to fix them.

On 21/06/09 5:29 PM, "Michael Petch" <address@hidden> wrote:


My fix would be to use an ifdef to include emmintrin.h only if USE_SSE2 is defined, and include xmmintrin.h


reply via email to

[Prev in Thread] Current Thread [Next in Thread]