Rihen Rihen NkentseuDocumentation
Development version, not published. Built from main: it shows what is coming (fixes, descriptions written since the last tag) and can change with every commit. Go to the stable version 0.1.0-beta.11

NkArchDetect.h

Include
#include "NKPlatform/NkArchDetect.h"
Link (Jenga)
nkentseudependson(["NKPlatform"])

Macros · 151

NKENTSEU_ARCH_X86_64Detection macro for the x86_64 architecture
NKENTSEU_ARCH_64BITDetection macro for a 64-bit architecture
NKENTSEU_ARCH_NAMEMacro giving a readable architecture name
NKENTSEU_ARCH_VERSIONMacro giving a detailed architecture version
NKENTSEU_ARCH_ARM64Detection macro for the ARM64 architecture
NKENTSEU_ARCH_PPC64Defined, with no value, when the target architecture is 64-bit PowerPC.
NKENTSEU_ARCH_MIPS64Defined, with no value, when the target architecture is 64-bit MIPS.
NKENTSEU_ARCH_RISCV64Defined, with no value, when the target architecture is 64-bit RISC-V.
NKENTSEU_ARCH_SPARC64Defined, with no value, when the target architecture is 64-bit SPARC (v9).
NKENTSEU_ARCH_X86Defined, with no value, when the target architecture is 32-bit x86.
NKENTSEU_ARCH_32BITDefined, with no value, when the target architecture is a 32-bit architecture.
NKENTSEU_ARCH_ARMDefined, with no value, when the target architecture is 32-bit ARM.
NKENTSEU_ARCH_ARM32Defined, with no value, when the target architecture is 32-bit ARM.
NKENTSEU_ARCH_PPCDefined, with no value, when the target architecture is PowerPC.
NKENTSEU_ARCH_MIPSDefined, with no value, when the target architecture is MIPS.
NKENTSEU_ARCH_SPARCDefined, with no value, when the target architecture is SPARC.
NKENTSEU_ARCH_ELBRUSDefined, with no value, when the target architecture is Elbrus (e2k).
NKENTSEU_ARCH_ELBRUS_VLIWDefined, with no value, when the target architecture is Elbrus (e2k), a VLIW processor.
NKENTSEU_ARCH_SUPERHDefined, with no value, when the target architecture is SuperH.
NKENTSEU_ARCH_ALPHADefined, with no value, when the target architecture is DEC Alpha.
NKENTSEU_ARCH_PARISCDefined, with no value, when the target architecture is PA-RISC.
NKENTSEU_ARCH_IA64Defined, with no value, when the target architecture is Itanium (IA-64).
NKENTSEU_ARCH_M68KDefined, with no value, when the target architecture is Motorola 68000.
NKENTSEU_ARCH_S390Defined, with no value, when the target architecture is IBM S/390.
NKENTSEU_ARCH_TILEDefined, with no value, when the target architecture is Tilera TILE.
NKENTSEU_ARCH_XTENSADefined, with no value, when the target architecture is Xtensa.
NKENTSEU_ARCH_R5900Defined, with no value, when the target architecture is the MIPS R5900 (PlayStation 2).
NKENTSEU_ARCH_CELL_PPUDefined, with no value, when the target architecture is the Cell PPU (PlayStation 3).
NKENTSEU_ARCH_UNKNOWN_64Defined, with no value, when the target architecture is unknown, with 64-bit pointers.
NKENTSEU_ARCH_UNKNOWN_32Defined, with no value, when the target architecture is unknown, with 32-bit pointers.
NKENTSEU_ARCH_UNKNOWNDefined, with no value, when the target architecture is unknown, and so is the pointer width.
NKENTSEU_ARCH_INTELDetection macro for an Intel architecture (x86/x86_64)
NKENTSEU_ARCH_ARM_FAMILYDetection macro for an ARM architecture (ARM/ARM64)
NKENTSEU_ARCH_LITTLE_ENDIANDetection macro for little-endian byte order
NKENTSEU_ARCH_BIG_ENDIANDetection macro for big-endian byte order
NKENTSEU_CPU_HAS_SSEDetection macro for SSE support
NKENTSEU_CPU_HAS_SSE2Detection macro for SSE2 support
NKENTSEU_CPU_HAS_SSE3Detection macro for SSE3 support
NKENTSEU_CPU_HAS_SSSE3Detection macro for SSSE3 support
NKENTSEU_CPU_HAS_SSE4_1Detection macro for SSE4.1 support
NKENTSEU_CPU_HAS_SSE4_2Detection macro for SSE4.2 support
NKENTSEU_CPU_HAS_AVXDetection macro for AVX support
NKENTSEU_CPU_HAS_AVX2Detection macro for AVX2 support
NKENTSEU_CPU_HAS_AVX512Detection macro for AVX-512 support
NKENTSEU_CPU_HAS_AESDetection macro for AES-NI support
NKENTSEU_CPU_HAS_BMIDetection macro for BMI/BMI2 support
NKENTSEU_CPU_HAS_FMADetection macro for FMA support
NKENTSEU_CPU_HAS_NEONDetection macro for NEON support (ARM)
NKENTSEU_CPU_HAS_ARM_CRYPTODetection macro for ARM crypto support
NKENTSEU_CPU_HAS_ARM_CRC32Detection macro for ARM CRC32 support
NKENTSEU_CPU_HAS_ALTIVECDetection macro for Altivec/VMX support (PowerPC)
NKENTSEU_CPU_HAS_VSXDetection macro for VSX support (PowerPC)
NKENTSEU_CPU_HAS_MSADetection macro for MSA support (MIPS)
NKENTSEU_CACHE_LINE_SIZECache line size in bytes
NKENTSEU_MAX_ALIGNMENTMaximum alignment supported by the architecture
NKENTSEU_PAGE_SIZEStandard memory page size in bytes
NKENTSEU_HUGE_PAGE_SIZEHuge page size in bytes
NKENTSEU_WORD_SIZEMachine word size in bytes
NKENTSEU_WORD_BITSNumber of bits in a machine word
NKENTSEU_PTR_BITSNumber of bits in a pointer
NKENTSEU_ALIGN_CACHECache-line alignment attribute
NKENTSEU_ALIGN_1616-byte alignment attribute
NKENTSEU_ALIGN_3232-byte alignment attribute
NKENTSEU_ALIGN_6464-byte alignment attribute
NKENTSEU_ALIGNCustom alignment attribute
NKENTSEU_X86_64_ONLYKeeps its argument when the target architecture is x86-64, removes it otherwise.
NKENTSEU_NOT_X86_64Removes its argument when the target architecture is x86-64, keeps it otherwise.
NKENTSEU_ARM64_ONLYKeeps its argument when the target architecture is 64-bit ARM, removes it otherwise.
NKENTSEU_NOT_ARM64Removes its argument when the target architecture is 64-bit ARM, keeps it otherwise.
NKENTSEU_PPC64_ONLYKeeps its argument when the target architecture is 64-bit PowerPC, removes it otherwise.
NKENTSEU_NOT_PPC64Removes its argument when the target architecture is 64-bit PowerPC, keeps it otherwise.
NKENTSEU_MIPS64_ONLYKeeps its argument when the target architecture is 64-bit MIPS, removes it otherwise.
NKENTSEU_NOT_MIPS64Removes its argument when the target architecture is 64-bit MIPS, keeps it otherwise.
NKENTSEU_RISCV64_ONLYKeeps its argument when the target architecture is 64-bit RISC-V, removes it otherwise.
NKENTSEU_NOT_RISCV64Removes its argument when the target architecture is 64-bit RISC-V, keeps it otherwise.
NKENTSEU_SPARC64_ONLYKeeps its argument when the target architecture is 64-bit SPARC (v9), removes it otherwise.
NKENTSEU_NOT_SPARC64Removes its argument when the target architecture is 64-bit SPARC (v9), keeps it otherwise.
NKENTSEU_IA64_ONLYKeeps its argument when the target architecture is Itanium (IA-64), removes it otherwise.
NKENTSEU_NOT_IA64Removes its argument when the target architecture is Itanium (IA-64), keeps it otherwise.
NKENTSEU_X86_ONLYKeeps its argument when the target architecture is 32-bit x86, removes it otherwise.
NKENTSEU_NOT_X86Removes its argument when the target architecture is 32-bit x86, keeps it otherwise.
NKENTSEU_ARM_ONLYKeeps its argument when the target architecture is 32-bit ARM, removes it otherwise.
NKENTSEU_NOT_ARMRemoves its argument when the target architecture is 32-bit ARM, keeps it otherwise.
NKENTSEU_PPC_ONLYKeeps its argument when the target architecture is PowerPC, removes it otherwise.
NKENTSEU_NOT_PPCRemoves its argument when the target architecture is PowerPC, keeps it otherwise.
NKENTSEU_MIPS_ONLYKeeps its argument when the target architecture is MIPS, removes it otherwise.
NKENTSEU_NOT_MIPSRemoves its argument when the target architecture is MIPS, keeps it otherwise.
NKENTSEU_SPARC_ONLYKeeps its argument when the target architecture is SPARC, removes it otherwise.
NKENTSEU_NOT_SPARCRemoves its argument when the target architecture is SPARC, keeps it otherwise.
NKENTSEU_R5900_ONLYKeeps its argument when the target architecture is the MIPS R5900 (PlayStation 2), removes it otherwise.
NKENTSEU_NOT_R5900Removes its argument when the target architecture is the MIPS R5900 (PlayStation 2), keeps it otherwise.
NKENTSEU_CELL_PPU_ONLYKeeps its argument when the target architecture is the Cell PPU (PlayStation 3), removes it otherwise.
NKENTSEU_NOT_CELL_PPURemoves its argument when the target architecture is the Cell PPU (PlayStation 3), keeps it otherwise.
NKENTSEU_ELBRUS_ONLYKeeps its argument when the target architecture is Elbrus (e2k), removes it otherwise.
NKENTSEU_NOT_ELBRUSRemoves its argument when the target architecture is Elbrus (e2k), keeps it otherwise.
NKENTSEU_SUPERH_ONLYKeeps its argument when the target architecture is SuperH, removes it otherwise.
NKENTSEU_NOT_SUPERHRemoves its argument when the target architecture is SuperH, keeps it otherwise.
NKENTSEU_ALPHA_ONLYKeeps its argument when the target architecture is DEC Alpha, removes it otherwise.
NKENTSEU_NOT_ALPHARemoves its argument when the target architecture is DEC Alpha, keeps it otherwise.
NKENTSEU_M68K_ONLYKeeps its argument when the target architecture is Motorola 68000, removes it otherwise.
NKENTSEU_NOT_M68KRemoves its argument when the target architecture is Motorola 68000, keeps it otherwise.
NKENTSEU_XTENSA_ONLYKeeps its argument when the target architecture is Xtensa, removes it otherwise.
NKENTSEU_NOT_XTENSARemoves its argument when the target architecture is Xtensa, keeps it otherwise.
NKENTSEU_INTEL_ONLYKeeps its argument when the target architecture is x86 or x86-64, removes it otherwise.
NKENTSEU_NOT_INTELRemoves its argument when the target architecture is x86 or x86-64, keeps it otherwise.
NKENTSEU_ARM_FAMILY_ONLYKeeps its argument when the target architecture is ARM, 32 or 64 bits, removes it otherwise.
NKENTSEU_NOT_ARM_FAMILYRemoves its argument when the target architecture is ARM, 32 or 64 bits, keeps it otherwise.
NKENTSEU_64BIT_ONLYKeeps its argument when the target architecture is a 64-bit architecture, removes it otherwise.
NKENTSEU_NOT_64BITRemoves its argument when the target architecture is a 64-bit architecture, keeps it otherwise.
NKENTSEU_32BIT_ONLYKeeps its argument when the target architecture is a 32-bit architecture, removes it otherwise.
NKENTSEU_NOT_32BITRemoves its argument when the target architecture is a 32-bit architecture, keeps it otherwise.
NKENTSEU_LITTLE_ENDIAN_ONLYKeeps its argument when the target architecture is little-endian, removes it otherwise.
NKENTSEU_NOT_LITTLE_ENDIANRemoves its argument when the target architecture is little-endian, keeps it otherwise.
NKENTSEU_BIG_ENDIAN_ONLYKeeps its argument when the target architecture is big-endian, removes it otherwise.
NKENTSEU_NOT_BIG_ENDIANRemoves its argument when the target architecture is big-endian, keeps it otherwise.
NKENTSEU_SSE_ONLYKeeps its argument when the build enables SSE (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_SSERemoves its argument when the build enables SSE (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_SSE2_ONLYKeeps its argument when the build enables SSE2 (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_SSE2Removes its argument when the build enables SSE2 (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_SSE3_ONLYKeeps its argument when the build enables SSE3 (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_SSE3Removes its argument when the build enables SSE3 (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_SSSE3_ONLYKeeps its argument when the build enables SSSE3 (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_SSSE3Removes its argument when the build enables SSSE3 (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_SSE4_1_ONLYKeeps its argument when the build enables SSE4.1 (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_SSE4_1Removes its argument when the build enables SSE4.1 (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_SSE4_2_ONLYKeeps its argument when the build enables SSE4.2 (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_SSE4_2Removes its argument when the build enables SSE4.2 (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_AVX_ONLYKeeps its argument when the build enables AVX (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_AVXRemoves its argument when the build enables AVX (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_AVX2_ONLYKeeps its argument when the build enables AVX2 (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_AVX2Removes its argument when the build enables AVX2 (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_AVX512_ONLYKeeps its argument when the build enables AVX-512 (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_AVX512Removes its argument when the build enables AVX-512 (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_AES_ONLYKeeps its argument when the build enables AES-NI (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_AESRemoves its argument when the build enables AES-NI (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_BMI_ONLYKeeps its argument when the build enables BMI (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_BMIRemoves its argument when the build enables BMI (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_FMA_ONLYKeeps its argument when the build enables FMA (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_FMARemoves its argument when the build enables FMA (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_NEON_ONLYKeeps its argument when the build enables NEON (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_NEONRemoves its argument when the build enables NEON (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_ARM_CRYPTO_ONLYKeeps its argument when the build enables the ARM cryptography extensions (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_ARM_CRYPTORemoves its argument when the build enables the ARM cryptography extensions (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_ARM_CRC32_ONLYKeeps its argument when the build enables the ARM CRC32 instructions (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_ARM_CRC32Removes its argument when the build enables the ARM CRC32 instructions (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_ALTIVEC_ONLYKeeps its argument when the build enables AltiVec (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_ALTIVECRemoves its argument when the build enables AltiVec (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_VSX_ONLYKeeps its argument when the build enables VSX (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_VSXRemoves its argument when the build enables VSX (a compiler option, not a run-time test), keeps it otherwise.
NKENTSEU_MSA_ONLYKeeps its argument when the build enables MSA (MIPS SIMD) (a compiler option, not a run-time test), removes it otherwise.
NKENTSEU_NOT_MSARemoves its argument when the build enables MSA (MIPS SIMD) (a compiler option, not a run-time test), keeps it otherwise.

Member details

NKENTSEU_ARCH_X86_64

#
macro
#define NKENTSEU_ARCH_X86_64

Detection macro for the x86_64 architecture

NKENTSEU_ARCH_64BIT

#
macro
#define NKENTSEU_ARCH_64BIT

Detection macro for a 64-bit architecture

NKENTSEU_ARCH_NAME

#
macro
#define NKENTSEU_ARCH_NAME

Macro giving a readable architecture name

NKENTSEU_ARCH_VERSION

#
macro
#define NKENTSEU_ARCH_VERSION

Macro giving a detailed architecture version

NKENTSEU_ARCH_ARM64

#
macro
#define NKENTSEU_ARCH_ARM64

Detection macro for the ARM64 architecture

NKENTSEU_ARCH_PPC64

#
macro
#define NKENTSEU_ARCH_PPC64

Defined, with no value, when the target architecture is 64-bit PowerPC.

NKENTSEU_ARCH_MIPS64

#
macro
#define NKENTSEU_ARCH_MIPS64

Defined, with no value, when the target architecture is 64-bit MIPS.

NKENTSEU_ARCH_RISCV64

#
macro
#define NKENTSEU_ARCH_RISCV64

Defined, with no value, when the target architecture is 64-bit RISC-V.

NKENTSEU_ARCH_SPARC64

#
macro
#define NKENTSEU_ARCH_SPARC64

Defined, with no value, when the target architecture is 64-bit SPARC (v9).

NKENTSEU_ARCH_X86

#
macro
#define NKENTSEU_ARCH_X86

Defined, with no value, when the target architecture is 32-bit x86.

NKENTSEU_ARCH_32BIT

#
macro
#define NKENTSEU_ARCH_32BIT

Defined, with no value, when the target architecture is a 32-bit architecture.

NKENTSEU_ARCH_ARM

#
macro
#define NKENTSEU_ARCH_ARM

Defined, with no value, when the target architecture is 32-bit ARM.

NKENTSEU_ARCH_ARM32

#
macro
#define NKENTSEU_ARCH_ARM32

Defined, with no value, when the target architecture is 32-bit ARM.

NKENTSEU_ARCH_PPC

#
macro
#define NKENTSEU_ARCH_PPC

Defined, with no value, when the target architecture is PowerPC.

NKENTSEU_ARCH_MIPS

#
macro
#define NKENTSEU_ARCH_MIPS

Defined, with no value, when the target architecture is MIPS.

NKENTSEU_ARCH_SPARC

#
macro
#define NKENTSEU_ARCH_SPARC

Defined, with no value, when the target architecture is SPARC.

NKENTSEU_ARCH_ELBRUS

#
macro
#define NKENTSEU_ARCH_ELBRUS

Defined, with no value, when the target architecture is Elbrus (e2k).

NKENTSEU_ARCH_ELBRUS_VLIW

#
macro
#define NKENTSEU_ARCH_ELBRUS_VLIW

Defined, with no value, when the target architecture is Elbrus (e2k), a VLIW processor.

NKENTSEU_ARCH_SUPERH

#
macro
#define NKENTSEU_ARCH_SUPERH

Defined, with no value, when the target architecture is SuperH.

NKENTSEU_ARCH_ALPHA

#
macro
#define NKENTSEU_ARCH_ALPHA

Defined, with no value, when the target architecture is DEC Alpha.

NKENTSEU_ARCH_PARISC

#
macro
#define NKENTSEU_ARCH_PARISC

Defined, with no value, when the target architecture is PA-RISC.

NKENTSEU_ARCH_IA64

#
macro
#define NKENTSEU_ARCH_IA64

Defined, with no value, when the target architecture is Itanium (IA-64).

NKENTSEU_ARCH_M68K

#
macro
#define NKENTSEU_ARCH_M68K

Defined, with no value, when the target architecture is Motorola 68000.

NKENTSEU_ARCH_S390

#
macro
#define NKENTSEU_ARCH_S390

Defined, with no value, when the target architecture is IBM S/390.

NKENTSEU_ARCH_TILE

#
macro
#define NKENTSEU_ARCH_TILE

Defined, with no value, when the target architecture is Tilera TILE.

NKENTSEU_ARCH_XTENSA

#
macro
#define NKENTSEU_ARCH_XTENSA

Defined, with no value, when the target architecture is Xtensa.

NKENTSEU_ARCH_R5900

#
macro
#define NKENTSEU_ARCH_R5900

Defined, with no value, when the target architecture is the MIPS R5900 (PlayStation 2).

NKENTSEU_ARCH_CELL_PPU

#
macro
#define NKENTSEU_ARCH_CELL_PPU

Defined, with no value, when the target architecture is the Cell PPU (PlayStation 3).

NKENTSEU_ARCH_UNKNOWN_64

#
macro
#define NKENTSEU_ARCH_UNKNOWN_64

Defined, with no value, when the target architecture is unknown, with 64-bit pointers.

NKENTSEU_ARCH_UNKNOWN_32

#
macro
#define NKENTSEU_ARCH_UNKNOWN_32

Defined, with no value, when the target architecture is unknown, with 32-bit pointers.

NKENTSEU_ARCH_UNKNOWN

#
macro
#define NKENTSEU_ARCH_UNKNOWN

Defined, with no value, when the target architecture is unknown, and so is the pointer width.

NKENTSEU_ARCH_INTEL

#
macro
#define NKENTSEU_ARCH_INTEL

Detection macro for an Intel architecture (x86/x86_64)

NKENTSEU_ARCH_ARM_FAMILY

#
macro
#define NKENTSEU_ARCH_ARM_FAMILY

Detection macro for an ARM architecture (ARM/ARM64)

NKENTSEU_ARCH_LITTLE_ENDIAN

#
macro
#define NKENTSEU_ARCH_LITTLE_ENDIAN

Detection macro for little-endian byte order

NKENTSEU_ARCH_BIG_ENDIAN

#
macro
#define NKENTSEU_ARCH_BIG_ENDIAN

Detection macro for big-endian byte order

NKENTSEU_CPU_HAS_SSE

#
macro
#define NKENTSEU_CPU_HAS_SSE

Detection macro for SSE support

NKENTSEU_CPU_HAS_SSE2

#
macro
#define NKENTSEU_CPU_HAS_SSE2

Detection macro for SSE2 support

NKENTSEU_CPU_HAS_SSE3

#
macro
#define NKENTSEU_CPU_HAS_SSE3

Detection macro for SSE3 support

NKENTSEU_CPU_HAS_SSSE3

#
macro
#define NKENTSEU_CPU_HAS_SSSE3

Detection macro for SSSE3 support

NKENTSEU_CPU_HAS_SSE4_1

#
macro
#define NKENTSEU_CPU_HAS_SSE4_1

Detection macro for SSE4.1 support

NKENTSEU_CPU_HAS_SSE4_2

#
macro
#define NKENTSEU_CPU_HAS_SSE4_2

Detection macro for SSE4.2 support

NKENTSEU_CPU_HAS_AVX

#
macro
#define NKENTSEU_CPU_HAS_AVX

Detection macro for AVX support

NKENTSEU_CPU_HAS_AVX2

#
macro
#define NKENTSEU_CPU_HAS_AVX2

Detection macro for AVX2 support

NKENTSEU_CPU_HAS_AVX512

#
macro
#define NKENTSEU_CPU_HAS_AVX512

Detection macro for AVX-512 support

NKENTSEU_CPU_HAS_AES

#
macro
#define NKENTSEU_CPU_HAS_AES

Detection macro for AES-NI support

NKENTSEU_CPU_HAS_BMI

#
macro
#define NKENTSEU_CPU_HAS_BMI

Detection macro for BMI/BMI2 support

NKENTSEU_CPU_HAS_FMA

#
macro
#define NKENTSEU_CPU_HAS_FMA

Detection macro for FMA support

NKENTSEU_CPU_HAS_NEON

#
macro
#define NKENTSEU_CPU_HAS_NEON

Detection macro for NEON support (ARM)

NKENTSEU_CPU_HAS_ARM_CRYPTO

#
macro
#define NKENTSEU_CPU_HAS_ARM_CRYPTO

Detection macro for ARM crypto support

NKENTSEU_CPU_HAS_ARM_CRC32

#
macro
#define NKENTSEU_CPU_HAS_ARM_CRC32

Detection macro for ARM CRC32 support

NKENTSEU_CPU_HAS_ALTIVEC

#
macro
#define NKENTSEU_CPU_HAS_ALTIVEC

Detection macro for Altivec/VMX support (PowerPC)

NKENTSEU_CPU_HAS_VSX

#
macro
#define NKENTSEU_CPU_HAS_VSX

Detection macro for VSX support (PowerPC)

NKENTSEU_CPU_HAS_MSA

#
macro
#define NKENTSEU_CPU_HAS_MSA

Detection macro for MSA support (MIPS)

NKENTSEU_CACHE_LINE_SIZE

#
macro
#define NKENTSEU_CACHE_LINE_SIZE

Cache line size in bytes

NKENTSEU_MAX_ALIGNMENT

#
macro
#define NKENTSEU_MAX_ALIGNMENT

Maximum alignment supported by the architecture

NKENTSEU_PAGE_SIZE

#
macro
#define NKENTSEU_PAGE_SIZE

Standard memory page size in bytes

NKENTSEU_HUGE_PAGE_SIZE

#
macro
#define NKENTSEU_HUGE_PAGE_SIZE

Huge page size in bytes

NKENTSEU_WORD_SIZE

#
macro
#define NKENTSEU_WORD_SIZE

Machine word size in bytes

NKENTSEU_WORD_BITS

#
macro
#define NKENTSEU_WORD_BITS

Number of bits in a machine word

NKENTSEU_PTR_BITS

#
macro
#define NKENTSEU_PTR_BITS

Number of bits in a pointer

NKENTSEU_ALIGN_CACHE

#
macro
#define NKENTSEU_ALIGN_CACHE

Cache-line alignment attribute

NKENTSEU_ALIGN_16

#
macro
#define NKENTSEU_ALIGN_16

16-byte alignment attribute

NKENTSEU_ALIGN_32

#
macro
#define NKENTSEU_ALIGN_32

32-byte alignment attribute

NKENTSEU_ALIGN_64

#
macro
#define NKENTSEU_ALIGN_64

64-byte alignment attribute

NKENTSEU_ALIGN

#
macro
#define NKENTSEU_ALIGN(n)

Custom alignment attribute

NKENTSEU_X86_64_ONLY

#
macro
#define NKENTSEU_X86_64_ONLY(...)

Keeps its argument when the target architecture is x86-64, removes it otherwise.

NKENTSEU_NOT_X86_64

#
macro
#define NKENTSEU_NOT_X86_64(...)

Removes its argument when the target architecture is x86-64, keeps it otherwise.

NKENTSEU_ARM64_ONLY

#
macro
#define NKENTSEU_ARM64_ONLY(...)

Keeps its argument when the target architecture is 64-bit ARM, removes it otherwise.

NKENTSEU_NOT_ARM64

#
macro
#define NKENTSEU_NOT_ARM64(...)

Removes its argument when the target architecture is 64-bit ARM, keeps it otherwise.

NKENTSEU_PPC64_ONLY

#
macro
#define NKENTSEU_PPC64_ONLY(...)

Keeps its argument when the target architecture is 64-bit PowerPC, removes it otherwise.

NKENTSEU_NOT_PPC64

#
macro
#define NKENTSEU_NOT_PPC64(...)

Removes its argument when the target architecture is 64-bit PowerPC, keeps it otherwise.

NKENTSEU_MIPS64_ONLY

#
macro
#define NKENTSEU_MIPS64_ONLY(...)

Keeps its argument when the target architecture is 64-bit MIPS, removes it otherwise.

NKENTSEU_NOT_MIPS64

#
macro
#define NKENTSEU_NOT_MIPS64(...)

Removes its argument when the target architecture is 64-bit MIPS, keeps it otherwise.

NKENTSEU_RISCV64_ONLY

#
macro
#define NKENTSEU_RISCV64_ONLY(...)

Keeps its argument when the target architecture is 64-bit RISC-V, removes it otherwise.

NKENTSEU_NOT_RISCV64

#
macro
#define NKENTSEU_NOT_RISCV64(...)

Removes its argument when the target architecture is 64-bit RISC-V, keeps it otherwise.

NKENTSEU_SPARC64_ONLY

#
macro
#define NKENTSEU_SPARC64_ONLY(...)

Keeps its argument when the target architecture is 64-bit SPARC (v9), removes it otherwise.

NKENTSEU_NOT_SPARC64

#
macro
#define NKENTSEU_NOT_SPARC64(...)

Removes its argument when the target architecture is 64-bit SPARC (v9), keeps it otherwise.

NKENTSEU_IA64_ONLY

#
macro
#define NKENTSEU_IA64_ONLY(...)

Keeps its argument when the target architecture is Itanium (IA-64), removes it otherwise.

NKENTSEU_NOT_IA64

#
macro
#define NKENTSEU_NOT_IA64(...)

Removes its argument when the target architecture is Itanium (IA-64), keeps it otherwise.

NKENTSEU_X86_ONLY

#
macro
#define NKENTSEU_X86_ONLY(...)

Keeps its argument when the target architecture is 32-bit x86, removes it otherwise.

NKENTSEU_NOT_X86

#
macro
#define NKENTSEU_NOT_X86(...)

Removes its argument when the target architecture is 32-bit x86, keeps it otherwise.

NKENTSEU_ARM_ONLY

#
macro
#define NKENTSEU_ARM_ONLY(...)

Keeps its argument when the target architecture is 32-bit ARM, removes it otherwise.

NKENTSEU_NOT_ARM

#
macro
#define NKENTSEU_NOT_ARM(...)

Removes its argument when the target architecture is 32-bit ARM, keeps it otherwise.

NKENTSEU_PPC_ONLY

#
macro
#define NKENTSEU_PPC_ONLY(...)

Keeps its argument when the target architecture is PowerPC, removes it otherwise.

NKENTSEU_NOT_PPC

#
macro
#define NKENTSEU_NOT_PPC(...)

Removes its argument when the target architecture is PowerPC, keeps it otherwise.

NKENTSEU_MIPS_ONLY

#
macro
#define NKENTSEU_MIPS_ONLY(...)

Keeps its argument when the target architecture is MIPS, removes it otherwise.

NKENTSEU_NOT_MIPS

#
macro
#define NKENTSEU_NOT_MIPS(...)

Removes its argument when the target architecture is MIPS, keeps it otherwise.

NKENTSEU_SPARC_ONLY

#
macro
#define NKENTSEU_SPARC_ONLY(...)

Keeps its argument when the target architecture is SPARC, removes it otherwise.

NKENTSEU_NOT_SPARC

#
macro
#define NKENTSEU_NOT_SPARC(...)

Removes its argument when the target architecture is SPARC, keeps it otherwise.

NKENTSEU_R5900_ONLY

#
macro
#define NKENTSEU_R5900_ONLY(...)

Keeps its argument when the target architecture is the MIPS R5900 (PlayStation 2), removes it otherwise.

NKENTSEU_NOT_R5900

#
macro
#define NKENTSEU_NOT_R5900(...)

Removes its argument when the target architecture is the MIPS R5900 (PlayStation 2), keeps it otherwise.

NKENTSEU_CELL_PPU_ONLY

#
macro
#define NKENTSEU_CELL_PPU_ONLY(...)

Keeps its argument when the target architecture is the Cell PPU (PlayStation 3), removes it otherwise.

NKENTSEU_NOT_CELL_PPU

#
macro
#define NKENTSEU_NOT_CELL_PPU(...)

Removes its argument when the target architecture is the Cell PPU (PlayStation 3), keeps it otherwise.

NKENTSEU_ELBRUS_ONLY

#
macro
#define NKENTSEU_ELBRUS_ONLY(...)

Keeps its argument when the target architecture is Elbrus (e2k), removes it otherwise.

NKENTSEU_NOT_ELBRUS

#
macro
#define NKENTSEU_NOT_ELBRUS(...)

Removes its argument when the target architecture is Elbrus (e2k), keeps it otherwise.

NKENTSEU_SUPERH_ONLY

#
macro
#define NKENTSEU_SUPERH_ONLY(...)

Keeps its argument when the target architecture is SuperH, removes it otherwise.

NKENTSEU_NOT_SUPERH

#
macro
#define NKENTSEU_NOT_SUPERH(...)

Removes its argument when the target architecture is SuperH, keeps it otherwise.

NKENTSEU_ALPHA_ONLY

#
macro
#define NKENTSEU_ALPHA_ONLY(...)

Keeps its argument when the target architecture is DEC Alpha, removes it otherwise.

NKENTSEU_NOT_ALPHA

#
macro
#define NKENTSEU_NOT_ALPHA(...)

Removes its argument when the target architecture is DEC Alpha, keeps it otherwise.

NKENTSEU_M68K_ONLY

#
macro
#define NKENTSEU_M68K_ONLY(...)

Keeps its argument when the target architecture is Motorola 68000, removes it otherwise.

NKENTSEU_NOT_M68K

#
macro
#define NKENTSEU_NOT_M68K(...)

Removes its argument when the target architecture is Motorola 68000, keeps it otherwise.

NKENTSEU_XTENSA_ONLY

#
macro
#define NKENTSEU_XTENSA_ONLY(...)

Keeps its argument when the target architecture is Xtensa, removes it otherwise.

NKENTSEU_NOT_XTENSA

#
macro
#define NKENTSEU_NOT_XTENSA(...)

Removes its argument when the target architecture is Xtensa, keeps it otherwise.

NKENTSEU_INTEL_ONLY

#
macro
#define NKENTSEU_INTEL_ONLY(...)

Keeps its argument when the target architecture is x86 or x86-64, removes it otherwise.

NKENTSEU_NOT_INTEL

#
macro
#define NKENTSEU_NOT_INTEL(...)

Removes its argument when the target architecture is x86 or x86-64, keeps it otherwise.

NKENTSEU_ARM_FAMILY_ONLY

#
macro
#define NKENTSEU_ARM_FAMILY_ONLY(...)

Keeps its argument when the target architecture is ARM, 32 or 64 bits, removes it otherwise.

NKENTSEU_NOT_ARM_FAMILY

#
macro
#define NKENTSEU_NOT_ARM_FAMILY(...)

Removes its argument when the target architecture is ARM, 32 or 64 bits, keeps it otherwise.

NKENTSEU_64BIT_ONLY

#
macro
#define NKENTSEU_64BIT_ONLY(...)

Keeps its argument when the target architecture is a 64-bit architecture, removes it otherwise.

NKENTSEU_NOT_64BIT

#
macro
#define NKENTSEU_NOT_64BIT(...)

Removes its argument when the target architecture is a 64-bit architecture, keeps it otherwise.

NKENTSEU_32BIT_ONLY

#
macro
#define NKENTSEU_32BIT_ONLY(...)

Keeps its argument when the target architecture is a 32-bit architecture, removes it otherwise.

NKENTSEU_NOT_32BIT

#
macro
#define NKENTSEU_NOT_32BIT(...)

Removes its argument when the target architecture is a 32-bit architecture, keeps it otherwise.

NKENTSEU_LITTLE_ENDIAN_ONLY

#
macro
#define NKENTSEU_LITTLE_ENDIAN_ONLY(...)

Keeps its argument when the target architecture is little-endian, removes it otherwise.

NKENTSEU_NOT_LITTLE_ENDIAN

#
macro
#define NKENTSEU_NOT_LITTLE_ENDIAN(...)

Removes its argument when the target architecture is little-endian, keeps it otherwise.

NKENTSEU_BIG_ENDIAN_ONLY

#
macro
#define NKENTSEU_BIG_ENDIAN_ONLY(...)

Keeps its argument when the target architecture is big-endian, removes it otherwise.

NKENTSEU_NOT_BIG_ENDIAN

#
macro
#define NKENTSEU_NOT_BIG_ENDIAN(...)

Removes its argument when the target architecture is big-endian, keeps it otherwise.

NKENTSEU_SSE_ONLY

#
macro
#define NKENTSEU_SSE_ONLY(...)

Keeps its argument when the build enables SSE (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_SSE

#
macro
#define NKENTSEU_NOT_SSE(...)

Removes its argument when the build enables SSE (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_SSE2_ONLY

#
macro
#define NKENTSEU_SSE2_ONLY(...)

Keeps its argument when the build enables SSE2 (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_SSE2

#
macro
#define NKENTSEU_NOT_SSE2(...)

Removes its argument when the build enables SSE2 (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_SSE3_ONLY

#
macro
#define NKENTSEU_SSE3_ONLY(...)

Keeps its argument when the build enables SSE3 (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_SSE3

#
macro
#define NKENTSEU_NOT_SSE3(...)

Removes its argument when the build enables SSE3 (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_SSSE3_ONLY

#
macro
#define NKENTSEU_SSSE3_ONLY(...)

Keeps its argument when the build enables SSSE3 (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_SSSE3

#
macro
#define NKENTSEU_NOT_SSSE3(...)

Removes its argument when the build enables SSSE3 (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_SSE4_1_ONLY

#
macro
#define NKENTSEU_SSE4_1_ONLY(...)

Keeps its argument when the build enables SSE4.1 (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_SSE4_1

#
macro
#define NKENTSEU_NOT_SSE4_1(...)

Removes its argument when the build enables SSE4.1 (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_SSE4_2_ONLY

#
macro
#define NKENTSEU_SSE4_2_ONLY(...)

Keeps its argument when the build enables SSE4.2 (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_SSE4_2

#
macro
#define NKENTSEU_NOT_SSE4_2(...)

Removes its argument when the build enables SSE4.2 (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_AVX_ONLY

#
macro
#define NKENTSEU_AVX_ONLY(...)

Keeps its argument when the build enables AVX (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_AVX

#
macro
#define NKENTSEU_NOT_AVX(...)

Removes its argument when the build enables AVX (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_AVX2_ONLY

#
macro
#define NKENTSEU_AVX2_ONLY(...)

Keeps its argument when the build enables AVX2 (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_AVX2

#
macro
#define NKENTSEU_NOT_AVX2(...)

Removes its argument when the build enables AVX2 (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_AVX512_ONLY

#
macro
#define NKENTSEU_AVX512_ONLY(...)

Keeps its argument when the build enables AVX-512 (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_AVX512

#
macro
#define NKENTSEU_NOT_AVX512(...)

Removes its argument when the build enables AVX-512 (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_AES_ONLY

#
macro
#define NKENTSEU_AES_ONLY(...)

Keeps its argument when the build enables AES-NI (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_AES

#
macro
#define NKENTSEU_NOT_AES(...)

Removes its argument when the build enables AES-NI (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_BMI_ONLY

#
macro
#define NKENTSEU_BMI_ONLY(...)

Keeps its argument when the build enables BMI (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_BMI

#
macro
#define NKENTSEU_NOT_BMI(...)

Removes its argument when the build enables BMI (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_FMA_ONLY

#
macro
#define NKENTSEU_FMA_ONLY(...)

Keeps its argument when the build enables FMA (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_FMA

#
macro
#define NKENTSEU_NOT_FMA(...)

Removes its argument when the build enables FMA (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_NEON_ONLY

#
macro
#define NKENTSEU_NEON_ONLY(...)

Keeps its argument when the build enables NEON (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_NEON

#
macro
#define NKENTSEU_NOT_NEON(...)

Removes its argument when the build enables NEON (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_ARM_CRYPTO_ONLY

#
macro
#define NKENTSEU_ARM_CRYPTO_ONLY(...)

Keeps its argument when the build enables the ARM cryptography extensions (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_ARM_CRYPTO

#
macro
#define NKENTSEU_NOT_ARM_CRYPTO(...)

Removes its argument when the build enables the ARM cryptography extensions (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_ARM_CRC32_ONLY

#
macro
#define NKENTSEU_ARM_CRC32_ONLY(...)

Keeps its argument when the build enables the ARM CRC32 instructions (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_ARM_CRC32

#
macro
#define NKENTSEU_NOT_ARM_CRC32(...)

Removes its argument when the build enables the ARM CRC32 instructions (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_ALTIVEC_ONLY

#
macro
#define NKENTSEU_ALTIVEC_ONLY(...)

Keeps its argument when the build enables AltiVec (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_ALTIVEC

#
macro
#define NKENTSEU_NOT_ALTIVEC(...)

Removes its argument when the build enables AltiVec (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_VSX_ONLY

#
macro
#define NKENTSEU_VSX_ONLY(...)

Keeps its argument when the build enables VSX (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_VSX

#
macro
#define NKENTSEU_NOT_VSX(...)

Removes its argument when the build enables VSX (a compiler option, not a run-time test), keeps it otherwise.

NKENTSEU_MSA_ONLY

#
macro
#define NKENTSEU_MSA_ONLY(...)

Keeps its argument when the build enables MSA (MIPS SIMD) (a compiler option, not a run-time test), removes it otherwise.

NKENTSEU_NOT_MSA

#
macro
#define NKENTSEU_NOT_MSA(...)

Removes its argument when the build enables MSA (MIPS SIMD) (a compiler option, not a run-time test), keeps it otherwise.