Home
last modified time | relevance | path

Searched refs:hwcaps (Results 1 – 17 of 17) sorted by relevance

/external/cpu_features/src/
Dhwcaps.c30 const HardwareCapabilities hwcaps) { in CpuFeatures_IsHwCapsSet()
31 return IsSet(hwcaps_mask.hwcaps, hwcaps.hwcaps) || in CpuFeatures_IsHwCapsSet()
32 IsSet(hwcaps_mask.hwcaps2, hwcaps.hwcaps2); in CpuFeatures_IsHwCapsSet()
151 unsigned long hwcaps = GetElfHwcapFromGetauxval(type); in GetHardwareCapabilitiesFor() local
152 if (!hwcaps) { in GetHardwareCapabilitiesFor()
154 hwcaps = GetElfHwcapFromProcSelfAuxv(type); in GetHardwareCapabilitiesFor()
156 return hwcaps; in GetHardwareCapabilitiesFor()
161 capabilities.hwcaps = GetHardwareCapabilitiesFor(AT_HWCAP); in CpuFeatures_GetHardwareCapabilities()
Dcpuinfo_mips.c71 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetMipsInfo() local
73 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetMipsInfo()
Dcpuinfo_ppc.c123 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetPPCInfo() local
125 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetPPCInfo()
Dcpuinfo_aarch64.c128 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetAarch64Info() local
130 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetAarch64Info()
Dcpuinfo_arm.c188 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetArmInfo() local
190 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetArmInfo()
/external/cpuinfo/src/arm/linux/
Dhwcap.c95 uint32_t hwcaps[2] = { 0, 0 }; in cpuinfo_arm_linux_hwcap_from_procfs()
116 hwcaps[0] = (uint32_t) elf_auxv.a_un.a_val; in cpuinfo_arm_linux_hwcap_from_procfs()
119 hwcaps[1] = (uint32_t) elf_auxv.a_un.a_val; in cpuinfo_arm_linux_hwcap_from_procfs()
132 *hwcap = hwcaps[0]; in cpuinfo_arm_linux_hwcap_from_procfs()
133 *hwcap2 = hwcaps[1]; in cpuinfo_arm_linux_hwcap_from_procfs()
/external/skqp/src/core/
DSkCpu.cpp81 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
82 if (hwcaps & kHWCAP_CRC32 ) { features |= SkCpu::CRC32; } in read_cpu_features()
83 if (hwcaps & kHWCAP_ASIMDHP) { features |= SkCpu::ASIMDHP; } in read_cpu_features()
98 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
99 if (hwcaps & kHWCAP_NEON ) { in read_cpu_features()
101 if (hwcaps & kHWCAP_VFPv4) { features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16; } in read_cpu_features()
/external/skia/src/core/
DSkCpu.cpp84 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
85 if (hwcaps & kHWCAP_CRC32 ) { features |= SkCpu::CRC32; } in read_cpu_features()
86 if (hwcaps & kHWCAP_ASIMDHP) { features |= SkCpu::ASIMDHP; } in read_cpu_features()
129 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
130 if (hwcaps & kHWCAP_NEON ) { in read_cpu_features()
132 if (hwcaps & kHWCAP_VFPv4) { features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16; } in read_cpu_features()
/external/cpu_features/test/
Dhwcaps_for_testing.cc28 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2) { in SetHardwareCapabilities() argument
29 g_hardware_capabilities->hwcaps = hwcaps; in SetHardwareCapabilities()
Dhwcaps_for_testing.h22 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2);
DCMakeLists.txt25 add_library(all_libraries ../src/hwcaps.c ../src/stack_line_reader.c)
/external/flac/src/libFLAC/
Dcpu.c257 long hwcaps; in ppc_cpu_info()
259 elf_aux_info(AT_HWCAP2, &hwcaps, sizeof(hwcaps)); in ppc_cpu_info()
260 if (hwcaps & PPC_FEATURE2_ARCH_3_00) { in ppc_cpu_info()
262 } else if (hwcaps & PPC_FEATURE2_ARCH_2_07) { in ppc_cpu_info()
270 #error Unsupported platform! Please add support for reading ppc hwcaps. in ppc_cpu_info()
/external/elfutils/backends/
Dsparc_attrs.c44 static const char *hwcaps[32] = in sparc_check_object_attribute() local
81 caps = hwcaps; in sparc_check_object_attribute()
/external/cpu_features/
DAndroid.bp68 name: "libcpu_features-hwcaps",
71 "src/hwcaps.c",
107 "libcpu_features-hwcaps",
115 "libcpu_features-hwcaps",
222 "src/hwcaps.c",
DCMakeLists.txt116 ${PROJECT_SOURCE_DIR}/include/internal/hwcaps.h
117 ${PROJECT_SOURCE_DIR}/src/hwcaps.c
/external/cpu_features/include/internal/
Dhwcaps.h169 unsigned long hwcaps; member
175 const HardwareCapabilities hwcaps);
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc1020 uint32_t hwcaps; in WriteCPUInformation() member
1196 sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry.hwcaps; in WriteCPUInformation()