SSE multiplication of 2 64-bit integers

后端 未结 3 1496
长情又很酷
长情又很酷 2020-12-20 18:45

How to multiply two 64-bit integers by another 2 64-bit integers? I didn\'t find any instruction which can do it.

3条回答
  •  不思量自难忘°
    2020-12-20 19:07

    You would need to implement your own 64 bit multiplication routine using 32 bit multiply operations. It's probably not going to be any more efficient than just doing this with scalar code though, particularly as there will be a lot of shuffling of the vectors to get all the required operations.

提交回复
热议问题