X86 CPU name, feature, and tune‐feature parsing helpers.

Enums

Name

Description

CPUKind

X86 CPU kinds recognized by ‐march / ‐mtune and related parsers.

ProcessorFeatures

X86 processor feature and microarchitecture‐level enumerators.

ProcessorSubtypes

X86 CPU subtype identifiers used by __builtin_cpu_is and related ABI checks.

ProcessorTypes

X86 CPU type identifiers used by __builtin_cpu_is and related ABI checks.

ProcessorVendors

X86 CPU vendor identifiers used by __builtin_cpu_is and related ABI checks.

Functions

Name

Description

fillValidCPUArchList

Provide a list of valid CPU names. If Only64Bit is true, the list will only contain 64‐bit capable CPUs.

fillValidTuneCPUList

Provide a list of valid ‐mtune names.

getCPUDispatchMangling

Return the function‐multiversion mangling character for CPU Name.

getCpuSupportsMask

Build the 128‐bit feature mask for __builtin_cpu_supports from feature names.

getFeaturePriority

Return the function‐multiversion priority of feature Feat.

getFeaturesForCPU

Fill in the features that CPU supports into Features.

getKeyFeature

Get the key feature prioritizing target multiversioning.

parseArchX86

Parse CPU string into a CPUKind. Will only accept 64‐bit capable CPUs if Only64Bit is true.

parseTuneCPU

Parse CPU string as an ‐mtune CPU name into a CPUKind.

updateImpliedFeatures

Set or clear entries in Features that are implied to be enabled/disabled by the provided Feature.

validateCPUSpecificCPUDispatch

Return true if Name is a valid cpu_specific / cpu_dispatch CPU name.

Created with MrDocs