Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

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

Document Table of Contents

_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.