From 9c193ab0d815c4e0b357edb23a12bb66be05e228 Mon Sep 17 00:00:00 2001 From: Christopher Taylor Date: Sat, 27 May 2017 18:46:15 -0700 Subject: [PATCH] WIP --- LeopardFF8.cpp | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/LeopardFF8.cpp b/LeopardFF8.cpp index 547990e..5c82ec2 100644 --- a/LeopardFF8.cpp +++ b/LeopardFF8.cpp @@ -833,16 +833,8 @@ void Encode( { const ffe_t skew = skewLUT[j]; - if (skew != kModulus) - { - for (unsigned i = j - width; i < j; ++i) - ifft_butterfly(work[i], work[i + width], skew, buffer_bytes); - } - else - { - for (unsigned i = j - width; i < j; ++i) - xor_mem(work[i + width], work[i], buffer_bytes); - } + for (unsigned i = j - width; i < j; ++i) + ifft_butterfly(work[i], work[i + width], skew, buffer_bytes); } } @@ -1030,16 +1022,8 @@ void Decode( { const ffe_t skew = skewLUT[j]; - if (skew != kModulus) - { - for (unsigned i = j, count = j + width; i < count; ++i) - fft_butterfly(work[i], work[i + width], skew, buffer_bytes); - } - else - { - for (unsigned i = j, count = j + width; i < count; ++i) - xor_mem(work[i + width], work[i], buffer_bytes); - } + for (unsigned i = j, count = j + width; i < count; ++i) + fft_butterfly(work[i], work[i + width], skew, buffer_bytes); } }