use HAVE_NATIVE defines in FFT code

This commit is contained in:
gladman 2012-01-10 19:52:20 +00:00
parent 1253dff171
commit e33f2c2e57
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);