signed avx512 vnni multiplication

142 Views Asked by At

I am trying to use AVX512 VNNI instructions to perform signed int8 multiplication. It appears that the instructions only support signed int8 multiplied with an unsigned int8 operand. I wonder what's the best way to multiply two signed int8 operands. Shifting one of the int8 to unsigned and then shifting the result back works but for the purpose of this question doesn't count.

0

There are 0 best solutions below