Searched refs:hwcaps (Results 1 - 22 of 22) sorted by relevance

/external/valgrind/main/VEX/priv/
H A Dmain_main.c73 static Bool are_valid_hwcaps ( VexArch arch, UInt hwcaps );
74 static HChar* show_hwcaps ( VexArch arch, UInt hwcaps );
296 vassert(are_valid_hwcaps(VexArchX86, vta->archinfo_host.hwcaps));
319 vassert(are_valid_hwcaps(VexArchAMD64, vta->archinfo_host.hwcaps));
339 vassert(are_valid_hwcaps(VexArchPPC32, vta->archinfo_host.hwcaps));
359 vassert(are_valid_hwcaps(VexArchPPC64, vta->archinfo_host.hwcaps));
378 vassert(are_valid_hwcaps(VexArchS390X, vta->archinfo_host.hwcaps));
398 vassert(are_valid_hwcaps(VexArchARM, vta->archinfo_host.hwcaps));
422 vassert(are_valid_hwcaps(VexArchMIPS32, vta->archinfo_host.hwcaps));
445 vassert(are_valid_hwcaps(VexArchX86, vta->archinfo_guest.hwcaps));
[all...]
H A Dhost_x86_defs.h512 carries the host's hwcaps so the assembler knows what to
515 UInt hwcaps; member in struct:__anon27824::__anon27825::__anon27845
677 extern X86Instr* X86Instr_MFence ( UInt hwcaps );
H A Dhost_x86_defs.c723 X86Instr* X86Instr_MFence ( UInt hwcaps ) {
726 i->Xin.MFence.hwcaps = hwcaps;
727 vassert(0 == (hwcaps & ~(VEX_HWCAPS_X86_SSE1
1052 LibVEX_ppVexHwCaps(VexArchX86,i->Xin.MFence.hwcaps));
2674 if (i->Xin.MFence.hwcaps & (VEX_HWCAPS_X86_SSE3
2680 if (i->Xin.MFence.hwcaps & VEX_HWCAPS_X86_SSE1) {
2688 if (i->Xin.MFence.hwcaps == 0/*baseline, no SSE*/) {
2694 vpanic("emit_X86Instr:mfence:hwcaps");
H A Dhost_x86_isel.c181 UInt hwcaps; member in struct:__anon27869
3150 do { if (env->hwcaps == 0/*baseline, no sse*/) \
3155 do { if (0 == (env->hwcaps & VEX_HWCAPS_X86_SSE2)) \
3160 (env->hwcaps & VEX_HWCAPS_X86_SSE2)
3699 vex_printf("iselVecExpr (hwcaps = %s): can't reduce\n",
3700 LibVEX_ppVexHwCaps(VexArchX86,env->hwcaps));
3981 addInstr(env, X86Instr_MFence(env->hwcaps));
4242 UInt hwcaps_host = archinfo_host->hwcaps;
4273 env->hwcaps = hwcaps_host;
H A Dhost_arm_isel.c118 UInt hwcaps; member in struct:__anon27582
1549 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
1854 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
2063 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
5378 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
5674 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
5723 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
5808 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
5867 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
5921 if (env->hwcaps
[all...]
H A Dhost_s390_isel.c113 UInt hwcaps; member in struct:__anon27795
2727 UInt hwcaps_host = archinfo_host->hwcaps;
2729 /* KLUDGE: export hwcaps. */
2763 env->hwcaps = hwcaps_host;
H A Dhost_amd64_isel.c147 UInt hwcaps; member in struct:__anon27488
3379 LibVEX_ppVexHwCaps(VexArchAMD64, env->hwcaps));
3656 LibVEX_ppVexHwCaps(VexArchAMD64, env->hwcaps));
3982 if (!(env->hwcaps & VEX_HWCAPS_AMD64_CX16))
4201 UInt hwcaps_host = archinfo_host->hwcaps;
4230 env->hwcaps = hwcaps_host;
H A Dhost_mips_isel.c117 UInt hwcaps; member in struct:__anon27652
3164 UInt hwcaps_host = archinfo_host->hwcaps;
3192 env->hwcaps = hwcaps_host;
3194 env->hwcaps = hwcaps_host;
H A Dguest_ppc_toIR.c16492 UInt hwcaps = archinfo->hwcaps; local
16498 allow_V = (0 != (hwcaps & VEX_HWCAPS_PPC64_V));
16499 allow_FX = (0 != (hwcaps & VEX_HWCAPS_PPC64_FX));
16500 allow_GX = (0 != (hwcaps & VEX_HWCAPS_PPC64_GX));
16501 allow_VX = (0 != (hwcaps & VEX_HWCAPS_PPC64_VX));
16502 allow_DFP = (0 != (hwcaps & VEX_HWCAPS_PPC64_DFP));
16504 allow_F = (0 != (hwcaps & VEX_HWCAPS_PPC32_F));
16505 allow_V = (0 != (hwcaps & VEX_HWCAPS_PPC32_V));
16506 allow_FX = (0 != (hwcaps
[all...]
H A Dhost_ppc_isel.c278 UInt hwcaps; member in struct:__anon27744
4660 env->hwcaps));
5223 UInt hwcaps_host = archinfo_host->hwcaps;
5280 env->hwcaps = hwcaps_host;
H A Dguest_x86_toIR.c8302 if (archinfo->hwcaps == 0/*baseline, no sse at all*/)
9362 if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE2))
11607 /* if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE3)) */
11611 if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE2))
12752 && 0 != (archinfo->hwcaps & VEX_HWCAPS_X86_LZCNT)) {
14658 if (archinfo->hwcaps & VEX_HWCAPS_X86_SSE2) {
14663 if (archinfo->hwcaps & VEX_HWCAPS_X86_SSE1) {
14668 if (archinfo->hwcaps == 0/*no SSE*/) {
H A Dguest_mips_toIR.c2814 if (0x3B == function && (archinfo->hwcaps & VEX_PRID_COMP_BROADCOM)) {
H A Dguest_amd64_toIR.c15284 && 0 != (archinfo->hwcaps & VEX_HWCAPS_AMD64_LZCNT)) {
19709 if (modrm == 0xD0 && (archinfo->hwcaps & VEX_HWCAPS_AMD64_AVX)) {
19931 if (archinfo->hwcaps == (VEX_HWCAPS_AMD64_SSE3
19938 else if (archinfo->hwcaps == (VEX_HWCAPS_AMD64_SSE3
20096 && 0 == (archinfo->hwcaps & VEX_HWCAPS_AMD64_LZCNT))) {
20155 if (sz == 8 && !(archinfo->hwcaps & VEX_HWCAPS_AMD64_CX16))
20396 without checking the guest hwcaps because SSE2 is a baseline
20406 /* Perhaps it's a SSE3 instruction. FIXME: check guest hwcaps
20416 /* Perhaps it's a SSE4 instruction. FIXME: check guest hwcaps
20492 /* Perhaps it's an SSSE3 instruction. FIXME: consult guest hwcaps
[all...]
H A Dguest_arm_toIR.c12556 if (archinfo->hwcaps & VEX_HWCAPS_ARM_NEON) {
12599 //UInt hwcaps = archinfo->hwcaps;
12605 //allow_VFP = (0 != (hwcaps & VEX_HWCAPS_ARM_VFP));
14867 //UInt hwcaps = archinfo->hwcaps;
14875 //allow_VFP = (0 != (hwcaps & VEX_HWCAPS_ARM_VFP));
18871 if (archinfo->hwcaps & VEX_HWCAPS_ARM_NEON) {
/external/chromium_org/v8/src/
H A Dcpu.cc390 // Try to extract the list of CPU features from ELF hwcaps.
391 uint32_t hwcaps = ReadELFHWCaps(); local
392 if (hwcaps != 0) {
393 has_idiva_ = (hwcaps & HWCAP_IDIVA) != 0;
394 has_neon_ = (hwcaps & HWCAP_NEON) != 0;
395 has_thumbee_ = (hwcaps & HWCAP_THUMBEE) != 0;
396 has_vfp_ = (hwcaps & HWCAP_VFP) != 0;
397 has_vfp3_ = (hwcaps & (HWCAP_VFPv3 | HWCAP_VFPv3D16 | HWCAP_VFPv4)) != 0;
398 has_vfp3_d32_ = (has_vfp3_ && ((hwcaps & HWCAP_VFPv3D16) == 0 ||
399 (hwcaps
[all...]
/external/valgrind/main/coregrind/
H A Dm_machine.c434 /* For hwcaps detection on ppc32/64, s390x, and arm we'll need to do SIGILL
735 vai.hwcaps = VEX_HWCAPS_X86_SSE1;
736 vai.hwcaps |= VEX_HWCAPS_X86_SSE2;
738 vai.hwcaps |= VEX_HWCAPS_X86_LZCNT;
745 vai.hwcaps = VEX_HWCAPS_X86_SSE1;
751 vai.hwcaps = 0; /*baseline - no sse at all*/
834 vai.hwcaps = (have_sse3 ? VEX_HWCAPS_AMD64_SSE3 : 0)
974 vai.hwcaps = 0;
975 if (have_F) vai.hwcaps |= VEX_HWCAPS_PPC32_F;
976 if (have_V) vai.hwcaps |
[all...]
H A Dm_main.c1333 "Arch and hwcaps: %s, %s\n",
1335 LibVEX_ppVexHwCaps ( vex_arch, vex_archinfo.hwcaps )
1752 1, "main", "... arch = %s, hwcaps = %s\n",
1754 LibVEX_ppVexHwCaps ( vex_arch, vex_archinfo.hwcaps )
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_image.c409 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) <
[all...]
H A DSDL_ph_video.c349 PgHWCaps_t hwcaps; local
389 if (PgGetGraphicsHWCaps(&hwcaps) < 0)
396 if (PgGetVideoModeInfo(hwcaps.current_video_mode, &desktop_mode) < 0)
/external/valgrind/main/VEX/pub/
H A Dlibvex.h134 /* Special value representing all available s390x hwcaps */
187 UInt hwcaps; member in struct:__anon27892
/external/valgrind/main/coregrind/m_gdbserver/
H A Dvalgrind-low-amd64.c316 return (vai.hwcaps & VEX_HWCAPS_AMD64_AVX ? True : False);
/external/valgrind/main/VEX/
H A Dtest_main.c166 /* FIXME: put sensible values into the .hwcaps fields */
168 vai_x86.hwcaps = VEX_HWCAPS_X86_SSE1
172 vai_amd64.hwcaps = 0;
175 vai_ppc32.hwcaps = 0;

Completed in 1540 milliseconds