/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/valgrind/main/VEX/priv/ |
main_main.c | 77 static Bool are_valid_hwcaps ( VexArch arch, UInt hwcaps ); 78 static const HChar* show_hwcaps ( VexArch arch, UInt hwcaps ); 319 vassert(are_valid_hwcaps(VexArchX86, vta->archinfo_host.hwcaps)); 342 vassert(are_valid_hwcaps(VexArchAMD64, vta->archinfo_host.hwcaps)); 362 vassert(are_valid_hwcaps(VexArchPPC32, vta->archinfo_host.hwcaps)); 382 vassert(are_valid_hwcaps(VexArchPPC64, vta->archinfo_host.hwcaps)); 401 vassert(are_valid_hwcaps(VexArchS390X, vta->archinfo_host.hwcaps)); 421 vassert(are_valid_hwcaps(VexArchARM, vta->archinfo_host.hwcaps)); 445 vassert(are_valid_hwcaps(VexArchARM64, vta->archinfo_host.hwcaps)); 469 vassert(are_valid_hwcaps(VexArchMIPS32, vta->archinfo_host.hwcaps)); [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 );
|
host_x86_isel.c | 181 UInt hwcaps; member in struct:__anon35925 [all...] |
host_x86_defs.c | 726 X86Instr* X86Instr_MFence ( UInt hwcaps ) { 729 i->Xin.MFence.hwcaps = hwcaps; 730 vassert(0 == (hwcaps & ~(VEX_HWCAPS_X86_MMXEXT [all...] |
host_arm_isel.c | 118 UInt hwcaps; member in struct:__anon35621 [all...] |
host_amd64_isel.c | 156 UInt hwcaps; member in struct:__anon35445 [all...] |
guest_mips_toIR.c | [all...] |
host_mips_isel.c | 120 UInt hwcaps; member in struct:__anon35688 [all...] |
host_arm64_isel.c | 119 UInt hwcaps; member in struct:__anon35528 [all...] |
host_s390_isel.c | 112 UInt hwcaps; member in struct:__anon35851 [all...] |
guest_x86_toIR.c | [all...] |
host_ppc_isel.c | 284 UInt hwcaps; member in struct:__anon35785 [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/coregrind/ |
m_machine.c | 453 /* For hwcaps detection on ppc32/64, s390x, and arm we'll need to do SIGILL 778 vai.hwcaps = VEX_HWCAPS_X86_MMXEXT; 779 vai.hwcaps |= VEX_HWCAPS_X86_SSE1; 780 vai.hwcaps |= VEX_HWCAPS_X86_SSE2; 782 vai.hwcaps |= VEX_HWCAPS_X86_LZCNT; 785 vai.hwcaps = VEX_HWCAPS_X86_MMXEXT; 786 vai.hwcaps |= VEX_HWCAPS_X86_SSE1; 789 vai.hwcaps = VEX_HWCAPS_X86_MMXEXT; /*integer only sse1 subset*/ 792 vai.hwcaps = 0; /*baseline - no sse at all*/ 895 vai.hwcaps = (have_sse3 ? VEX_HWCAPS_AMD64_SSE3 : 0 [all...] |
m_cache.c | 609 if (! (vai->hwcaps & VEX_HWCAPS_S390X_GIE)) {
|
m_main.c | [all...] |
/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));
|
/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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
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...] |
SDL_ph_video.c | 349 PgHWCaps_t hwcaps; local 389 if (PgGetGraphicsHWCaps(&hwcaps) < 0) 396 if (PgGetVideoModeInfo(hwcaps.current_video_mode, &desktop_mode) < 0)
|
/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...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
valgrind-low-amd64.c | 316 return (vai.hwcaps & VEX_HWCAPS_AMD64_AVX ? True : False);
|
/external/valgrind/main/VEX/ |
test_main.c | 171 /* FIXME: put sensible values into the .hwcaps fields */ 173 vai_x86.hwcaps = VEX_HWCAPS_X86_SSE1 177 vai_amd64.hwcaps = 0; 180 vai_ppc32.hwcaps = 0; 184 vai_arm.hwcaps = VEX_HWCAPS_ARM_VFP3 | VEX_HWCAPS_ARM_NEON | 7; [all...] |