avx2指令存储8个整数是什么? [英] What is the avx2 instruction to store 8 integers?
本文介绍了avx2指令存储8个整数是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将8个整数从 __ m256i
变量存储到8 x 32位 int
s的数组中.我以为该指令是 _mm256_store_epi32
,但是我收到一条错误消息,指出该指令甚至不存在!
I want to store the 8 integers from a __m256i
variable to an array of 8 x 32 bit int
s. I thought the instruction for that would be _mm256_store_epi32
, but I get an error that this instruction doesn't even exist!
推荐答案
看看 _mm256_store_si256
或 <代码> _mm256_storeu_si256 .
Have a look at the Intel Intrinsics Guide. Depending on whether your destination is aligned, you need _mm256_store_si256
or _mm256_storeu_si256
.
这篇关于avx2指令存储8个整数是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文