Table of Contents

Method _MM_SHUFFLE

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

_MM_SHUFFLE(byte, byte, byte, byte)

Make the shuffle control code for selecting four 2-bit values (制作shuffle控制码, 用于选择4个2位值).

[CLSCompliant(false)]
public static byte _MM_SHUFFLE(byte fp3, byte fp2, byte fp1, byte fp0)

Parameters

fp3 byte

The 3rd 2-bit value (第3个2位值).

fp2 byte

The 2nd 2-bit value (第2个2位值).

fp1 byte

The 1st 2-bit value (第1个2位值).

fp0 byte

The 0th 2-bit value (第0个2位值).

Returns

byte

Returns shuffle control code (返回shuffle控制码).

Remarks

"xmmintrin.h": MACRO for shuffle parameter for _mm_shuffle_ps().

Argument fp3 is a digit[0123] that represents the fp from argument "b" of mm_shuffle_ps that will be placed in fp3 of result. fp2 is the same for fp2 in result.

fp1 is a digit[0123] that represents the fp from argument "a" of mm_shuffle_ps that will be places in fp1 of result. fp0 is the same for fp0 of result.

See Also