Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

<span class='option'>_mm256_shuffle_epi32</span>

Conditionally shuffles doublewords of the source vector in the destination vector at the locations selected with the immediate control operand. The corresponding Intel® AVX2 instruction is VPSHUFD.

Syntax

extern __m256i _mm256_shuffle_epi32(__m256i val, const int control);

Arguments

val

integer source vector

control

immediate control operand

Description

Performs shuffle operations of the signed or unsigned 32-bit integers in the source vector as specified by the control operand. The shuffle value must be an immediate.

Returns

Result of the shuffle operation.