Sse2.Insert Method

Definition

Overloads

Insert(Vector128<Int16>, Int16, Byte)

__m128i _mm_insert_epi16 (__m128i a, int i, int immediate)

PINSRW xmm, reg/m16, imm8

Insert(Vector128<UInt16>, UInt16, Byte)

__m128i _mm_insert_epi16 (__m128i a, int i, int immediate)

PINSRW xmm, reg/m16, imm8

Insert(Vector128<Int16>, Int16, Byte)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_insert_epi16 (__m128i a, int i, int immediate)

PINSRW xmm, reg/m16, imm8

public:
 static System::Runtime::Intrinsics::Vector128<short> Insert(System::Runtime::Intrinsics::Vector128<short> value, short data, System::Byte index);
public static System.Runtime.Intrinsics.Vector128<short> Insert (System.Runtime.Intrinsics.Vector128<short> value, short data, byte index);
static member Insert : System.Runtime.Intrinsics.Vector128<int16> * int16 * byte -> System.Runtime.Intrinsics.Vector128<int16>
Public Shared Function Insert (value As Vector128(Of Short), data As Short, index As Byte) As Vector128(Of Short)

Parameters

value
Vector128<Int16>
data
Int16
index
Byte

Returns

Applies to

Insert(Vector128<UInt16>, UInt16, Byte)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_insert_epi16 (__m128i a, int i, int immediate)

PINSRW xmm, reg/m16, imm8

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt16> Insert(System::Runtime::Intrinsics::Vector128<System::UInt16> value, System::UInt16 data, System::Byte index);
public static System.Runtime.Intrinsics.Vector128<ushort> Insert (System.Runtime.Intrinsics.Vector128<ushort> value, ushort data, byte index);
static member Insert : System.Runtime.Intrinsics.Vector128<uint16> * uint16 * byte -> System.Runtime.Intrinsics.Vector128<uint16>
Public Shared Function Insert (value As Vector128(Of UShort), data As UShort, index As Byte) As Vector128(Of UShort)

Parameters

value
Vector128<UInt16>
data
UInt16
index
Byte

Returns

Applies to