Sve.PopCount Method

Definition

Overloads

PopCount(Vector<UInt64>)

svuint64_t svcnt[_u64]_m(svuint64_t inactive, svbool_t pg, svuint64_t op)

svuint64_t svcnt[_u64]_x(svbool_t pg, svuint64_t op)

svuint64_t svcnt[_u64]_z(svbool_t pg, svuint64_t op)

CNT Zresult.D, Pg/M, Zop.D

PopCount(Vector<Single>)

svuint32_t svcnt[_f32]_m(svuint32_t inactive, svbool_t pg, svfloat32_t op)

svuint32_t svcnt[_f32]_x(svbool_t pg, svfloat32_t op)

svuint32_t svcnt[_f32]_z(svbool_t pg, svfloat32_t op)

CNT Zresult.S, Pg/M, Zop.S

PopCount(Vector<UInt32>)

svuint32_t svcnt[_u32]_m(svuint32_t inactive, svbool_t pg, svuint32_t op)

svuint32_t svcnt[_u32]_x(svbool_t pg, svuint32_t op)

svuint32_t svcnt[_u32]_z(svbool_t pg, svuint32_t op)

CNT Zresult.S, Pg/M, Zop.S

PopCount(Vector<SByte>)

svuint8_t svcnt[_s8]_m(svuint8_t inactive, svbool_t pg, svint8_t op)

svuint8_t svcnt[_s8]_x(svbool_t pg, svint8_t op)

svuint8_t svcnt[_s8]_z(svbool_t pg, svint8_t op)

CNT Zresult.B, Pg/M, Zop.B

PopCount(Vector<UInt16>)

svuint16_t svcnt[_u16]_m(svuint16_t inactive, svbool_t pg, svuint16_t op)

svuint16_t svcnt[_u16]_x(svbool_t pg, svuint16_t op)

svuint16_t svcnt[_u16]_z(svbool_t pg, svuint16_t op)

CNT Zresult.H, Pg/M, Zop.H

PopCount(Vector<Int32>)

svuint32_t svcnt[_s32]_m(svuint32_t inactive, svbool_t pg, svint32_t op)

svuint32_t svcnt[_s32]_x(svbool_t pg, svint32_t op)

svuint32_t svcnt[_s32]_z(svbool_t pg, svint32_t op)

CNT Zresult.S, Pg/M, Zop.S

PopCount(Vector<Byte>)

svuint8_t svcnt[_u8]_m(svuint8_t inactive, svbool_t pg, svuint8_t op)

svuint8_t svcnt[_u8]_x(svbool_t pg, svuint8_t op)

svuint8_t svcnt[_u8]_z(svbool_t pg, svuint8_t op)

CNT Zresult.B, Pg/M, Zop.B

PopCount(Vector<Int64>)

svuint64_t svcnt[_s64]_m(svuint64_t inactive, svbool_t pg, svint64_t op)

svuint64_t svcnt[_s64]_x(svbool_t pg, svint64_t op)

svuint64_t svcnt[_s64]_z(svbool_t pg, svint64_t op)

CNT Zresult.D, Pg/M, Zop.D

PopCount(Vector<Int16>)

svuint16_t svcnt[_s16]_m(svuint16_t inactive, svbool_t pg, svint16_t op)

svuint16_t svcnt[_s16]_x(svbool_t pg, svint16_t op)

svuint16_t svcnt[_s16]_z(svbool_t pg, svint16_t op)

CNT Zresult.H, Pg/M, Zop.H

PopCount(Vector<Double>)

svuint64_t svcnt[_f64]_m(svuint64_t inactive, svbool_t pg, svfloat64_t op)

svuint64_t svcnt[_f64]_x(svbool_t pg, svfloat64_t op)

svuint64_t svcnt[_f64]_z(svbool_t pg, svfloat64_t op)

CNT Zresult.D, Pg/M, Zop.D

PopCount(Vector<UInt64>)

svuint64_t svcnt[_u64]_m(svuint64_t inactive, svbool_t pg, svuint64_t op)

svuint64_t svcnt[_u64]_x(svbool_t pg, svuint64_t op)

svuint64_t svcnt[_u64]_z(svbool_t pg, svuint64_t op)

CNT Zresult.D, Pg/M, Zop.D

public:
 static System::Numerics::Vector<System::UInt64> PopCount(System::Numerics::Vector<System::UInt64> value);
public static System.Numerics.Vector<ulong> PopCount (System.Numerics.Vector<ulong> value);
static member PopCount : System.Numerics.Vector<uint64> -> System.Numerics.Vector<uint64>
Public Shared Function PopCount (value As Vector(Of ULong)) As Vector(Of ULong)

Parameters

value
Vector<UInt64>

Returns

Applies to

PopCount(Vector<Single>)

svuint32_t svcnt[_f32]_m(svuint32_t inactive, svbool_t pg, svfloat32_t op)

svuint32_t svcnt[_f32]_x(svbool_t pg, svfloat32_t op)

svuint32_t svcnt[_f32]_z(svbool_t pg, svfloat32_t op)

CNT Zresult.S, Pg/M, Zop.S

public:
 static System::Numerics::Vector<System::UInt32> PopCount(System::Numerics::Vector<float> value);
public static System.Numerics.Vector<uint> PopCount (System.Numerics.Vector<float> value);
static member PopCount : System.Numerics.Vector<single> -> System.Numerics.Vector<uint32>
Public Shared Function PopCount (value As Vector(Of Single)) As Vector(Of UInteger)

Parameters

value
Vector<Single>

Returns

Applies to

PopCount(Vector<UInt32>)

svuint32_t svcnt[_u32]_m(svuint32_t inactive, svbool_t pg, svuint32_t op)

svuint32_t svcnt[_u32]_x(svbool_t pg, svuint32_t op)

svuint32_t svcnt[_u32]_z(svbool_t pg, svuint32_t op)

CNT Zresult.S, Pg/M, Zop.S

public:
 static System::Numerics::Vector<System::UInt32> PopCount(System::Numerics::Vector<System::UInt32> value);
public static System.Numerics.Vector<uint> PopCount (System.Numerics.Vector<uint> value);
static member PopCount : System.Numerics.Vector<uint32> -> System.Numerics.Vector<uint32>
Public Shared Function PopCount (value As Vector(Of UInteger)) As Vector(Of UInteger)

Parameters

value
Vector<UInt32>

Returns

Applies to

PopCount(Vector<SByte>)

svuint8_t svcnt[_s8]_m(svuint8_t inactive, svbool_t pg, svint8_t op)

svuint8_t svcnt[_s8]_x(svbool_t pg, svint8_t op)

svuint8_t svcnt[_s8]_z(svbool_t pg, svint8_t op)

CNT Zresult.B, Pg/M, Zop.B

public:
 static System::Numerics::Vector<System::Byte> PopCount(System::Numerics::Vector<System::SByte> value);
public static System.Numerics.Vector<byte> PopCount (System.Numerics.Vector<sbyte> value);
static member PopCount : System.Numerics.Vector<sbyte> -> System.Numerics.Vector<byte>
Public Shared Function PopCount (value As Vector(Of SByte)) As Vector(Of Byte)

Parameters

value
Vector<SByte>

Returns

Applies to

PopCount(Vector<UInt16>)

svuint16_t svcnt[_u16]_m(svuint16_t inactive, svbool_t pg, svuint16_t op)

svuint16_t svcnt[_u16]_x(svbool_t pg, svuint16_t op)

svuint16_t svcnt[_u16]_z(svbool_t pg, svuint16_t op)

CNT Zresult.H, Pg/M, Zop.H

public:
 static System::Numerics::Vector<System::UInt16> PopCount(System::Numerics::Vector<System::UInt16> value);
public static System.Numerics.Vector<ushort> PopCount (System.Numerics.Vector<ushort> value);
static member PopCount : System.Numerics.Vector<uint16> -> System.Numerics.Vector<uint16>
Public Shared Function PopCount (value As Vector(Of UShort)) As Vector(Of UShort)

Parameters

value
Vector<UInt16>

Returns

Applies to

PopCount(Vector<Int32>)

svuint32_t svcnt[_s32]_m(svuint32_t inactive, svbool_t pg, svint32_t op)

svuint32_t svcnt[_s32]_x(svbool_t pg, svint32_t op)

svuint32_t svcnt[_s32]_z(svbool_t pg, svint32_t op)

CNT Zresult.S, Pg/M, Zop.S

public:
 static System::Numerics::Vector<System::UInt32> PopCount(System::Numerics::Vector<int> value);
public static System.Numerics.Vector<uint> PopCount (System.Numerics.Vector<int> value);
static member PopCount : System.Numerics.Vector<int> -> System.Numerics.Vector<uint32>
Public Shared Function PopCount (value As Vector(Of Integer)) As Vector(Of UInteger)

Parameters

value
Vector<Int32>

Returns

Applies to

PopCount(Vector<Byte>)

svuint8_t svcnt[_u8]_m(svuint8_t inactive, svbool_t pg, svuint8_t op)

svuint8_t svcnt[_u8]_x(svbool_t pg, svuint8_t op)

svuint8_t svcnt[_u8]_z(svbool_t pg, svuint8_t op)

CNT Zresult.B, Pg/M, Zop.B

public:
 static System::Numerics::Vector<System::Byte> PopCount(System::Numerics::Vector<System::Byte> value);
public static System.Numerics.Vector<byte> PopCount (System.Numerics.Vector<byte> value);
static member PopCount : System.Numerics.Vector<byte> -> System.Numerics.Vector<byte>
Public Shared Function PopCount (value As Vector(Of Byte)) As Vector(Of Byte)

Parameters

value
Vector<Byte>

Returns

Applies to

PopCount(Vector<Int64>)

svuint64_t svcnt[_s64]_m(svuint64_t inactive, svbool_t pg, svint64_t op)

svuint64_t svcnt[_s64]_x(svbool_t pg, svint64_t op)

svuint64_t svcnt[_s64]_z(svbool_t pg, svint64_t op)

CNT Zresult.D, Pg/M, Zop.D

public:
 static System::Numerics::Vector<System::UInt64> PopCount(System::Numerics::Vector<long> value);
public static System.Numerics.Vector<ulong> PopCount (System.Numerics.Vector<long> value);
static member PopCount : System.Numerics.Vector<int64> -> System.Numerics.Vector<uint64>
Public Shared Function PopCount (value As Vector(Of Long)) As Vector(Of ULong)

Parameters

value
Vector<Int64>

Returns

Applies to

PopCount(Vector<Int16>)

svuint16_t svcnt[_s16]_m(svuint16_t inactive, svbool_t pg, svint16_t op)

svuint16_t svcnt[_s16]_x(svbool_t pg, svint16_t op)

svuint16_t svcnt[_s16]_z(svbool_t pg, svint16_t op)

CNT Zresult.H, Pg/M, Zop.H

public:
 static System::Numerics::Vector<System::UInt16> PopCount(System::Numerics::Vector<short> value);
public static System.Numerics.Vector<ushort> PopCount (System.Numerics.Vector<short> value);
static member PopCount : System.Numerics.Vector<int16> -> System.Numerics.Vector<uint16>
Public Shared Function PopCount (value As Vector(Of Short)) As Vector(Of UShort)

Parameters

value
Vector<Int16>

Returns

Applies to

PopCount(Vector<Double>)

svuint64_t svcnt[_f64]_m(svuint64_t inactive, svbool_t pg, svfloat64_t op)

svuint64_t svcnt[_f64]_x(svbool_t pg, svfloat64_t op)

svuint64_t svcnt[_f64]_z(svbool_t pg, svfloat64_t op)

CNT Zresult.D, Pg/M, Zop.D

public:
 static System::Numerics::Vector<System::UInt64> PopCount(System::Numerics::Vector<double> value);
public static System.Numerics.Vector<ulong> PopCount (System.Numerics.Vector<double> value);
static member PopCount : System.Numerics.Vector<double> -> System.Numerics.Vector<uint64>
Public Shared Function PopCount (value As Vector(Of Double)) As Vector(Of ULong)

Parameters

value
Vector<Double>

Returns

Applies to