[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Re: Build Issues (mcrypt, sse/sigmoid)
From: |
Christian Anthon |
Subject: |
Re: [Bug-gnubg] Re: Build Issues (mcrypt, sse/sigmoid) |
Date: |
Wed, 24 Jun 2009 12:47:56 +0200 |
I guess I had msse2 turned on by default on x86_64. I'll take a look.
Christian.
On Mon, Jun 22, 2009 at 2:40 AM, Michael Petch<address@hidden> wrote:
>
> 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
>
>
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg
>
>