Rihen Rihen NkentseuDocumentation

ExtendedFeatures

struct

Additional CPU features (security, memory, performance)

Include
#include "NKPlatform/NkCPUFeatures.h"
Namespace
nkentseu::platform
Link (Jenga)
nkentseudependson(["NKPlatform"])
C++
struct ExtendedFeatures

Hierarchy

Base classes : none. Derived classes : none.

Hierarchy : ExtendedFeaturesExtendedFeatures

Members · 16

hasAESAES-NI support (hardware AES encryption)
hasSHAHardware SHA extensions support
hasRDRANDRDRAND support (hardware random generator)
hasRDSEEDRDSEED support (seed for a PRNG)
hasCLFLUSHCLFLUSH support (cache line flush)
hasCLFLUSHOPTCLFLUSHOPT support (optimised version)
hasPREFETCHWT1PREFETCHWT1 support (prefetch into L2)
hasMOVBEMOVBE support (move with byte swap)
hasPOPCNTPOPCNT support (count of set bits)
hasLZCNTLZCNT support (count of leading zeros)
hasBMI1BMI1 (Bit Manipulation Instruction Set 1) support
hasBMI2BMI2 (Bit Manipulation Instruction Set 2) support
hasADXADX support (multi-precision add with carry)
hasVMXVMX support (Intel VT-x)
hasSVMSVM support (AMD-V)
ExtendedFeaturesDefault constructor with every feature disabled

Member details

hasAES

#
field
bool hasAES

AES-NI support (hardware AES encryption)

hasSHA

#
field
bool hasSHA

Hardware SHA extensions support

hasRDRAND

#
field
bool hasRDRAND

RDRAND support (hardware random generator)

hasRDSEED

#
field
bool hasRDSEED

RDSEED support (seed for a PRNG)

hasCLFLUSH

#
field
bool hasCLFLUSH

CLFLUSH support (cache line flush)

hasCLFLUSHOPT

#
field
bool hasCLFLUSHOPT

CLFLUSHOPT support (optimised version)

hasPREFETCHWT1

#
field
bool hasPREFETCHWT1

PREFETCHWT1 support (prefetch into L2)

hasMOVBE

#
field
bool hasMOVBE

MOVBE support (move with byte swap)

hasPOPCNT

#
field
bool hasPOPCNT

POPCNT support (count of set bits)

hasLZCNT

#
field
bool hasLZCNT

LZCNT support (count of leading zeros)

hasBMI1

#
field
bool hasBMI1

BMI1 (Bit Manipulation Instruction Set 1) support

hasBMI2

#
field
bool hasBMI2

BMI2 (Bit Manipulation Instruction Set 2) support

hasADX

#
field
bool hasADX

ADX support (multi-precision add with carry)

hasVMX

#
field
bool hasVMX

VMX support (Intel VT-x)

hasSVM

#
field
bool hasSVM

SVM support (AMD-V)

ExtendedFeatures

#
constructor
ExtendedFeatures()

Default constructor with every feature disabled