/external/chromium_org/v8/src/ |
cpu.cc | 381 // Try to extract the list of CPU features from ELF hwcaps. 382 uint32_t hwcaps = ReadELFHWCaps(); local 383 if (hwcaps != 0) { 384 has_idiva_ = (hwcaps & HWCAP_IDIVA) != 0; 385 has_neon_ = (hwcaps & HWCAP_NEON) != 0; 386 has_vfp_ = (hwcaps & HWCAP_VFP) != 0; 387 has_vfp3_ = (hwcaps & (HWCAP_VFPv3 | HWCAP_VFPv3D16 | HWCAP_VFPv4)) != 0; 388 has_vfp3_d32_ = (has_vfp3_ && ((hwcaps & HWCAP_VFPv3D16) == 0 || 389 (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/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_video.c | 349 PgHWCaps_t hwcaps; local 389 if (PgGetGraphicsHWCaps(&hwcaps) < 0) 396 if (PgGetVideoModeInfo(hwcaps.current_video_mode, &desktop_mode) < 0)
|
SDL_ph_image.c | 409 PgHWCaps_t hwcaps; local 412 if (PgGetGraphicsHWCaps(&hwcaps) < 0) 417 this->info.video_mem=hwcaps.currently_available_video_ram/1024; 420 if (PgGetVideoModeInfo(hwcaps.current_video_mode, &vmode) < 0) 429 if (hwcaps.currently_available_video_ram!=0) 524 PgHWCaps_t hwcaps; local 562 if (PgGetGraphicsHWCaps(&hwcaps) < 0) 569 this->info.video_mem=hwcaps.currently_available_video_ram/1024; 576 PgHWCaps_t hwcaps; local 605 if (PgGetGraphicsHWCaps(&hwcaps) < 0 [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...] |
/external/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...] |
/ndk/sources/android/cpufeatures/ |
cpu-features.c | 498 // On success, return new ELF hwcaps, or 0 on failure. 536 uint32_t hwcaps = 0; local 548 D("Faking 32-bit ARM HWCaps on ARMv%ld CPU\n", architecture); 558 hwcaps |= HWCAP_VFP; 560 hwcaps |= HWCAP_VFPv3; 562 hwcaps |= HWCAP_VFPv3D16; 564 hwcaps |= HWCAP_VFPv4; 566 hwcaps |= HWCAP_NEON; 568 hwcaps |= HWCAP_IDIVA; 570 hwcaps |= HWCAP_IDIVT 728 uint32_t hwcaps = 0; local [all...] |
/external/valgrind/main/VEX/priv/ |
host_arm64_isel.c | 119 UInt hwcaps; member in struct:__anon35528 [all...] |
host_arm_isel.c | 118 UInt hwcaps; member in struct:__anon35621 [all...] |
host_mips_isel.c | 120 UInt hwcaps; member in struct:__anon35688 [all...] |
host_s390_isel.c | 112 UInt hwcaps; member in struct:__anon35851 [all...] |
host_x86_isel.c | 181 UInt hwcaps; member in struct:__anon35925 [all...] |
host_amd64_isel.c | 156 UInt hwcaps; member in struct:__anon35445 [all...] |
host_ppc_isel.c | 284 UInt hwcaps; member in struct:__anon35785 [all...] |
host_x86_defs.h | 517 host's hwcaps so the assembler knows what to emit. */ 519 UInt hwcaps; member in struct:__anon35880::__anon35881::__anon35901 681 extern X86Instr* X86Instr_MFence ( UInt hwcaps );
|
guest_ppc_toIR.c | 18504 UInt hwcaps = archinfo->hwcaps; local [all...] |
/external/valgrind/main/VEX/pub/ |
libvex.h | 148 /* Special value representing all available s390x hwcaps */ 173 /* Get an ARM architecure level from HWCAPS */ 206 /* Get MIPS Company ID from HWCAPS */ 208 /* Get MIPS Processor ID from HWCAPS */ 210 /* Get MIPS Revision from HWCAPS */ 274 UInt hwcaps; member in struct:__anon35964 [all...] |