mirror of
https://github.com/mborgerding/kissfft.git
synced 2026-02-23 15:32:58 -05:00
Merge 5ebbc5e618 into 159874bffa
This commit is contained in:
@ -35,6 +35,8 @@ extern "C" {
|
||||
#ifdef USE_SIMD
|
||||
# include <xmmintrin.h>
|
||||
# define kiss_fft_scalar __m128
|
||||
# define kiss_fft_scalar_one double
|
||||
//# define kiss_fft_scalar_one float
|
||||
# ifndef KISS_FFT_MALLOC
|
||||
# define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16)
|
||||
# define KISS_FFT_ALIGN_CHECK(ptr)
|
||||
@ -59,8 +61,10 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
# if (FIXED_POINT == 32)
|
||||
# define kiss_fft_scalar int32_t
|
||||
# define kiss_fft_scalar_one double
|
||||
# else
|
||||
# define kiss_fft_scalar int16_t
|
||||
# define kiss_fft_scalar_one double
|
||||
# endif
|
||||
#else
|
||||
# ifndef kiss_fft_scalar
|
||||
|
||||
Reference in New Issue
Block a user