存储 8 个整数的 avx2 指令是什么?

What is the avx2 instruction to store 8 integers?

我想将 __m256i 变量中的 8 个整数存储到一个 8 x 32 位 int 的数组中。我原以为该指令是 _mm256_store_epi32,但我收到一条错误消息,该指令根本不存在!

看看Intel Intrinsics Guide. Depending on whether your destination is aligned, you need _mm256_store_si256 or _mm256_storeu_si256