Skip to main content

Module cpu

Module cpu 

Source

Structs§

CpuidResult
CPUID-shaped compatibility record for architecture-independent platform callers.

Constants§

CPU_AVX2
Native AVX2 capability bit; never advertised by the scalar browser backend.
CPU_BMI2
Native BMI2 capability bit; never advertised by the scalar browser backend.
CPU_FMA
Native FMA capability bit; never advertised by the scalar browser backend.
CPU_POPCNT
Native POPCNT capability bit; never advertised by the scalar browser backend.
CPU_SSE41
Native SSE4.1 capability bit; never advertised by the scalar browser backend.

Functions§

cpuid
No x86 CPU leaves exist in WebAssembly.
features
No native x86 capability bits apply to either scalar or SIMD128 WASM.
force_baseline
Browser backend selection happens before loading its scalar/SIMD128 bundle.