arduano / simdeez

easy simd
MIT License
331 stars 25 forks source link

Add support for epi16 #6

Closed TerminalWitchcraft closed 6 years ago

TerminalWitchcraft commented 6 years ago

This PR adds support for epi16 intrinsics. This adds I16x8 and I16x16 types.

Add funtion add_epi16 for all instruction sets.

We may need to verify the correctness of mul and mul_assign implementations for I16x8 and I16x16.

jackmott commented 6 years ago

This looks good, and builds and passes the current tests on my machine in debug and release. You mentioned neededing to verify mul and mul_assign, maybe you can add some tests for that in another PR?