Vector512.ShiftRightArithmetic Method

Definition

Overloads

ShiftRightArithmetic(Vector512<Int16>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector512<Int32>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector512<Int64>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector512<IntPtr>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector512<SByte>, Int32)

Shifts (signed) each element of a vector right by the specified amount.

ShiftRightArithmetic(Vector512<Int16>, Int32)

Source:
Vector512.cs
Source:
Vector512.cs

Shifts (signed) each element of a vector right by the specified amount.

public static System.Runtime.Intrinsics.Vector512<short> ShiftRightArithmetic(System.Runtime.Intrinsics.Vector512<short> vector, int shiftCount);

Parameters

vector
Vector512<Int16>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9

ShiftRightArithmetic(Vector512<Int32>, Int32)

Source:
Vector512.cs
Source:
Vector512.cs

Shifts (signed) each element of a vector right by the specified amount.

public static System.Runtime.Intrinsics.Vector512<int> ShiftRightArithmetic(System.Runtime.Intrinsics.Vector512<int> vector, int shiftCount);

Parameters

vector
Vector512<Int32>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9

ShiftRightArithmetic(Vector512<Int64>, Int32)

Source:
Vector512.cs
Source:
Vector512.cs

Shifts (signed) each element of a vector right by the specified amount.

public static System.Runtime.Intrinsics.Vector512<long> ShiftRightArithmetic(System.Runtime.Intrinsics.Vector512<long> vector, int shiftCount);

Parameters

vector
Vector512<Int64>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9

ShiftRightArithmetic(Vector512<IntPtr>, Int32)

Source:
Vector512.cs
Source:
Vector512.cs

Shifts (signed) each element of a vector right by the specified amount.

public static System.Runtime.Intrinsics.Vector512<IntPtr> ShiftRightArithmetic(System.Runtime.Intrinsics.Vector512<IntPtr> vector, int shiftCount);

Parameters

vector

Vector512<IntPtr>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

Vector512<IntPtr>

A vector whose elements where shifted right by shiftCount.

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9

ShiftRightArithmetic(Vector512<SByte>, Int32)

Source:
Vector512.cs
Source:
Vector512.cs

Important

This API is not CLS-compliant.

Shifts (signed) each element of a vector right by the specified amount.

[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector512<sbyte> ShiftRightArithmetic(System.Runtime.Intrinsics.Vector512<sbyte> vector, int shiftCount);

Parameters

vector
Vector512<SByte>

The vector whose elements are to be shifted.

shiftCount
Int32

The number of bits by which to shift each element.

Returns

A vector whose elements where shifted right by shiftCount.

Attributes

Applies to

.NET 9 and .NET 8
Product Versions
.NET 8, 9