From e33f2c2e5775101b3f83895b0de319312bfdaad6 Mon Sep 17 00:00:00 2001 From: gladman Date: Tue, 10 Jan 2012 19:52:20 +0000 Subject: [PATCH] use HAVE_NATIVE defines in FFT code --- fft/ifft_mfa_truncate_sqrt2.c | 2 +- fft/ifft_truncate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fft/ifft_mfa_truncate_sqrt2.c b/fft/ifft_mfa_truncate_sqrt2.c index 3f3b52e9..09ef2e1f 100644 --- a/fft/ifft_mfa_truncate_sqrt2.c +++ b/fft/ifft_mfa_truncate_sqrt2.c @@ -114,7 +114,7 @@ void ifft_truncate1_twiddle(mp_limb_t ** ii, mp_size_t is, for (i = 0; i < trunc; i++) { -#if HAVE_ADDSUB_N +#if HAVE_NATIVE_mpn_addsub_n mpn_addsub_n(ii[i*is], ii[i*is], ii[i*is], ii[(n+i)*is], limbs + 1); #else mpn_add_n(ii[i*is], ii[i*is], ii[i*is], limbs + 1); diff --git a/fft/ifft_truncate.c b/fft/ifft_truncate.c index 3022d816..74171c1e 100644 --- a/fft/ifft_truncate.c +++ b/fft/ifft_truncate.c @@ -51,7 +51,7 @@ void ifft_truncate1(mp_limb_t ** ii, mp_size_t n, mp_bitcnt_t w, for (i = 0; i < trunc; i++) { -#if HAVE_ADDSUB_N +#if HAVE_NATIVE_mpn_addsub_n mpn_addsub_n(ii[i], ii[i], ii[i], ii[n+i], limbs + 1); #else mpn_add_n(ii[i], ii[i], ii[i], limbs + 1);