OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hwcaps
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/v8/src/base/
cpu.cc
407
// Try to extract the list of CPU features from ELF
hwcaps
.
408
uint32_t
hwcaps
= ReadELFHWCaps();
local
409
if (
hwcaps
!= 0) {
410
has_idiva_ = (
hwcaps
& HWCAP_IDIVA) != 0;
411
has_neon_ = (
hwcaps
& HWCAP_NEON) != 0;
412
has_vfp_ = (
hwcaps
& HWCAP_VFP) != 0;
413
has_vfp3_ = (
hwcaps
& (HWCAP_VFPv3 | HWCAP_VFPv3D16 | HWCAP_VFPv4)) != 0;
414
has_vfp3_d32_ = (has_vfp3_ && ((
hwcaps
& HWCAP_VFPv3D16) == 0 ||
415
(
hwcaps
& HWCAP_VFPD32) != 0));
/cts/tests/tests/os/src/android/os/cts/
CpuFeaturesTest.java
34
private static void assertHwCap(String name, int
hwcaps
, int flag) {
36
hwcaps
& flag);
44
int
hwcaps
= CpuFeatures.getHwCaps();
local
47
hwcaps
== 0);
49
assertHwCap("VFP",
hwcaps
, CpuFeatures.HWCAP_VFP);
50
assertHwCap("NEON",
hwcaps
, CpuFeatures.HWCAP_NEON);
51
assertHwCap("VFPv3",
hwcaps
, CpuFeatures.HWCAP_VFPv3);
52
assertHwCap("VFPv4",
hwcaps
, CpuFeatures.HWCAP_VFPv4);
53
assertHwCap("IDIVA",
hwcaps
, CpuFeatures.HWCAP_IDIVA);
54
assertHwCap("IDIVT",
hwcaps
, CpuFeatures.HWCAP_IDIVT)
[
all
...]
/external/chromium_org/third_party/skia/platform_tools/android/third_party/cpufeatures/
cpu-features.c
603
/* Extract the list of CPU features from ELF
hwcaps
*/
604
uint32_t
hwcaps
= get_elf_hwcap();
local
606
if (
hwcaps
!= 0) {
607
int has_vfp = (
hwcaps
& HWCAP_VFP);
608
int has_vfpv3 = (
hwcaps
& HWCAP_VFPv3);
609
int has_vfpv3d16 = (
hwcaps
& HWCAP_VFPv3D16);
610
int has_vfpv4 = (
hwcaps
& HWCAP_VFPv4);
611
int has_neon = (
hwcaps
& HWCAP_NEON);
612
int has_idiva = (
hwcaps
& HWCAP_IDIVA);
613
int has_idivt = (
hwcaps
& HWCAP_IDIVT)
[
all
...]
Completed in 88 milliseconds