# _mm256_shuffle_epi32

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.

Parent topic: Intrinsics for Shuffle Operations