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" <[email protected]> wrote:

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


_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to