|
From: | John D |
Subject: | RE: MXE-Octave build of fftw |
Date: | Tue, 25 Jun 2013 19:44:06 -0400 |
From: Michael Goffioul [mailto:address@hidden On Tue, Jun 25, 2013 at 7:18 PM, jdonoghue <address@hidden> wrote:
Looking at the code in kalloc.c, it's strange that it can't find a way to alloc aligned memory with MinGW. Maybe it's a bug in FFTW. AFAIK, MinGW also have the _aligned_malloc function defined in its header (the same is used for MSVC, but in kalloc.c, it's only used for the MSVC compiler). Michael. Verified - It works without the sse2 option I don’t know why it doesn’t work with sse2 … configure output at least suggests that it thinks the compiler is ok with it . checking whether C compiler accepts -mtune=native... yes checking whether C compiler accepts -malign-double... yes checking whether C compiler accepts -fstrict-aliasing... yes checking whether C compiler accepts -fno-schedule-insns... yes checking whether C compiler accepts -ffast-math... yes checking whether C compiler accepts -O3 -fomit-frame-pointer -mtune=native -mali gn-double -fstrict-aliasing -fno-schedule-insns -ffast-math... yes checking whether C compiler accepts -msse2... yes There is some configure checks for memory alignment: checking whether memalign is declared... no checking whether posix_memalign is declared... no . . checking whether C compiler accepts -mpreferred-stack-boundary=4... yes checking whether the stack is at least 8-byte aligned by gcc... checking whether C compiler accepts -malign-double... (cached) yes yes |
[Prev in Thread] | Current Thread | [Next in Thread] |