Compute Library
 22.08
CpuIsaInfo.cpp File Reference

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2022 Arm Limited.
 
 arm_compute::cpuinfo
 

Macros

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_HALF   (1 << 1)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP_NEON   (1 << 12)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMD   (1 << 1)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP_FPHP   (1 << 9)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMDHP   (1 << 10)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMDDP   (1 << 20)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP_SVE   (1 << 22)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVE2   (1 << 1)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEI8MM   (1 << 9)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEF32MM   (1 << 10)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEBF16   (1 << 12)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_I8MM   (1 << 13)
 
#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_BF16   (1 << 14)
 

Functions

CpuIsaInfo init_cpu_isa_from_hwcaps (uint32_t hwcaps, uint32_t hwcaps2, uint32_t midr)
 Identify ISA related information through system information. More...
 
CpuIsaInfo init_cpu_isa_from_regs (uint64_t isar0, uint64_t isar1, uint64_t pfr0, uint64_t svefr0, uint64_t midr)
 Identify ISA related information through register information. More...
 

Macro Definition Documentation

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP2_BF16

#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_BF16   (1 << 14)

Definition at line 44 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP2_I8MM

#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_I8MM   (1 << 13)

Definition at line 43 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVE2

#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVE2   (1 << 1)

Definition at line 39 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEBF16

#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEBF16   (1 << 12)

Definition at line 42 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEF32MM

#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEF32MM   (1 << 10)

Definition at line 41 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEI8MM

#define ARM_COMPUTE_CPU_FEATURE_HWCAP2_SVEI8MM   (1 << 9)

Definition at line 40 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMD

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMD   (1 << 1)

Definition at line 34 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMDDP

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMDDP   (1 << 20)

Definition at line 37 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMDHP

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_ASIMDHP   (1 << 10)

Definition at line 36 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP_FPHP

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_FPHP   (1 << 9)

Definition at line 35 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP_HALF

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_HALF   (1 << 1)

Definition at line 30 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP_NEON

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_NEON   (1 << 12)

Definition at line 31 of file CpuIsaInfo.cpp.

◆ ARM_COMPUTE_CPU_FEATURE_HWCAP_SVE

#define ARM_COMPUTE_CPU_FEATURE_HWCAP_SVE   (1 << 22)

Definition at line 38 of file CpuIsaInfo.cpp.