changed code from memalign to _mm_malloc

This commit is contained in:
Mark Borgerding
2009-09-28 15:55:19 +00:00
parent 0aaf69c005
commit 26f8faa6e8
2 changed files with 5 additions and 3 deletions

View File

@ -27,7 +27,9 @@ extern "C" {
#ifdef USE_SIMD
# include <xmmintrin.h>
# define kiss_fft_scalar __m128
#define KISS_FFT_MALLOC(nbytes) memalign(16,nbytes)
//#define KISS_FFT_MALLOC(nbytes) memalign(16,nbytes)
#define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16)
#else
#define KISS_FFT_MALLOC malloc
#endif