quadiron icon indicating copy to clipboard operation
quadiron copied to clipboard

Use 16bits arithmetic for F_4

Open vrancurel opened this issue 6 years ago • 3 comments

Instead of using 32bits arithmetic we can use 16 bits arithmetic.

vrancurel avatar Nov 02 '18 22:11 vrancurel

Here is a simulation: https://github.com/vrancurel/f4mul

vrancurel avatar Nov 02 '18 22:11 vrancurel

Lâm, can you give it a try ?

vrancurel avatar Nov 02 '18 22:11 vrancurel

We can probably further optimize the loop we do to adjust with SIMD operations themselves, e.g. with cmpeq_epu16(), etc

Bitfields operation are in fact unlikely so we can process them only if the bitmap != 0.

vrancurel avatar Nov 02 '18 22:11 vrancurel