native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
Feature detection
Collaboration diagram for Feature detection:

Classes

struct  native::arm_capabilities

Functions

arm_capabilities native::observe_arm_capabilities () noexcept

Detailed Description

AArch64 OS capability admission, independent of the native SIMD hub. Query before entering optional-profile code; no instruction probing occurs.

Function Documentation

◆ observe_arm_capabilities()

arm_capabilities native::observe_arm_capabilities ( )
exportnoexcept

Query OS-advertised AArch64 features without executing optional instructions. Linux uses AT_HWCAP/AT_HWCAP2; macOS uses feature sysctls (legacy FP16 only if the modern key is unavailable, never after a false value); Windows uses processor-feature queries. Failed/unavailable observations reject. Old Windows systems report FP16 unavailable even when their hardware might implement it. FPCR is untouched.

Definition at line 86 of file native.arm.features.ccm.

Here is the caller graph for this function: