What is the avx2 instruction to store 8 integers?

狂风中的少年 提交于 2021-02-05 11:32:06

问题


I want to store the 8 integers from a __m256i variable to an array of 8 x 32 bit ints. I thought the instruction for that would be _mm256_store_epi32, but I get an error that this instruction doesn't even exist!


回答1:


Have a look at the Intel Intrinsics Guide. Depending on whether your destination is aligned, you need _mm256_store_si256 or _mm256_storeu_si256.



来源:https://stackoverflow.com/questions/43304021/what-is-the-avx2-instruction-to-store-8-integers

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!