FFmpeg
Loading...
Searching...
No Matches
CheckasmCpuInfo Struct Reference

Describes a CPU feature flag/capability. More...

#include <checkasm.h>

Data Fields

const char * name
 Human-readable name (e.g., "SSE2", "AVX2")
 
const char * suffix
 Short suffix for function names (e.g., "sse2", "avx2")
 
CheckasmCpu flag
 Bitmask flag value for this CPU feature.
 
CheckasmCpu mask
 Bitmask of prior CPU flags to disable again.
 

Detailed Description

Describes a CPU feature flag/capability.

Used to define the CPU features that the test suite should test against. Tests will be run incrementally for each CPU feature set, with each test inheriting flags from previously tested CPUs.

Definition at line 105 of file checkasm.h.

Field Documentation

◆ name

const char* CheckasmCpuInfo::name

Human-readable name (e.g., "SSE2", "AVX2")

Definition at line 106 of file checkasm.h.

◆ suffix

const char* CheckasmCpuInfo::suffix

Short suffix for function names (e.g., "sse2", "avx2")

Definition at line 107 of file checkasm.h.

Referenced by checkasm_get_cpu_suffix().

◆ flag

CheckasmCpu CheckasmCpuInfo::flag

Bitmask flag value for this CPU feature.

Definition at line 108 of file checkasm.h.

◆ mask

CheckasmCpu CheckasmCpuInfo::mask

Bitmask of prior CPU flags to disable again.

Any CPU flags in this mask will be removed from the active CPU flag set when testing this and any subsequent CPU configurations. This is effectively the opposite of flag.

Since
v1.3.0

Definition at line 118 of file checkasm.h.


The documentation for this struct was generated from the following file: