This commit is contained in:
Christopher Taylor 2017-06-04 22:14:21 -07:00
parent 48bb280858
commit ff13880057
2 changed files with 4 additions and 6 deletions

View File

@ -32,11 +32,10 @@
TODO: TODO:
Short-term: Short-term:
+ Unroll first/final butterflies to avoid extra copies/xors in encoder (17% of encode time)
+ Add compile-time selectable XOR-only rowops instead of MULADD
+ Multithreading + Multithreading
Mid-term: Mid-term:
+ Add compile-time selectable XOR-only rowops instead of MULADD
+ Look into 12-bit fields as a performance optimization + Look into 12-bit fields as a performance optimization
Long-term: Long-term:

View File

@ -832,11 +832,10 @@ static void IFFT_DIT_Encoder(
} }
} }
// I tried unrolling this but it does not provide more than 5% performance
// improvement for 16-bit finite fields, so it's not worth the complexity.
if (xor_result) if (xor_result)
{ VectorXOR(bytes, m, xor_result, work);
for (unsigned i = 0; i < m; ++i)
xor_mem(xor_result[i], work[i], bytes);
}
} }