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

12

/external/elfutils/backends/
H A Dsparc_attrs.c49 static const char *hwcaps[30] = local
57 if (value < 30 && hwcaps[value] != NULL)
58 *value_name = hwcaps[value];
/external/valgrind/VEX/priv/
H A Dmain_main.c174 static void check_hwcaps ( VexArch arch, UInt hwcaps );
175 static const HChar* show_hwcaps ( VexArch arch, UInt hwcaps );
309 /* KLUDGE: S390 need to know the hwcaps of the host when generating
481 /* KLUDGE: export hwcaps. */
482 s390_host_hwcaps = vta->archinfo_host.hwcaps;
591 // not return if hwcaps are infeasible in some sense.
592 check_hwcaps(vta->arch_host, vta->archinfo_host.hwcaps);
816 // not return if hwcaps are infeasible in some sense.
818 check_hwcaps(vta->arch_guest, vta->archinfo_guest.hwcaps);
832 vassert(vta->archinfo_guest.hwcaps
1745 invalid_hwcaps( VexArch arch, UInt hwcaps, const HChar *message ) argument
[all...]
H A Dhost_x86_defs.h520 host's hwcaps so the assembler knows what to emit. */
522 UInt hwcaps; member in struct:__anon22607::__anon22608::__anon22628
684 extern X86Instr* X86Instr_MFence ( UInt hwcaps );
H A Dhost_tilegx_isel.c106 UInt hwcaps; member in struct:__anon22578
1784 UInt hwcaps_host = archinfo_host->hwcaps;
1807 env->hwcaps = hwcaps_host;
1809 env->hwcaps = hwcaps_host;
H A Dhost_x86_isel.c181 UInt hwcaps; member in struct:__anon22652
3259 do { if (env->hwcaps == 0/*baseline, no sse*/ \
3260 || env->hwcaps == VEX_HWCAPS_X86_MMXEXT /*Integer SSE*/) \
3265 do { if (0 == (env->hwcaps & VEX_HWCAPS_X86_SSE2)) \
3270 (env->hwcaps & VEX_HWCAPS_X86_SSE2)
3845 vex_printf("iselVecExpr (hwcaps = %s): can't reduce\n",
3846 LibVEX_ppVexHwCaps(VexArchX86,env->hwcaps));
4166 addInstr(env, X86Instr_MFence(env->hwcaps));
4433 UInt hwcaps_host = archinfo_host->hwcaps;
4466 env->hwcaps
[all...]
H A Dhost_arm_isel.c118 UInt hwcaps; member in struct:__anon22300
1368 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
1394 && !(env->hwcaps & VEX_HWCAPS_ARM_NEON)) {
1410 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
1653 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
1948 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
2158 if (env->hwcaps & VEX_HWCAPS_ARM_NEON) {
2180 vassert(env->hwcaps & VEX_HWCAPS_ARM_NEON);
3793 vassert(env->hwcaps & VEX_HWCAPS_ARM_NEON);
5431 if (env->hwcaps
[all...]
H A Dhost_x86_defs.c725 X86Instr* X86Instr_MFence ( UInt hwcaps ) {
728 i->Xin.MFence.hwcaps = hwcaps;
729 vassert(0 == (hwcaps & ~(VEX_HWCAPS_X86_MMXEXT
1056 LibVEX_ppVexHwCaps(VexArchX86,i->Xin.MFence.hwcaps));
2721 if (i->Xin.MFence.hwcaps & (VEX_HWCAPS_X86_SSE3
2727 if (i->Xin.MFence.hwcaps & VEX_HWCAPS_X86_MMXEXT) {
2735 if (i->Xin.MFence.hwcaps == 0/*baseline, no SSE*/) {
2741 vpanic("emit_X86Instr:mfence:hwcaps");
H A Dguest_mips_toIR.c14452 if (VEX_MIPS_COMP_ID(archinfo->hwcaps) == VEX_PRID_COMP_CAVIUM) {
14501 if (VEX_MIPS_PROC_DSP(archinfo->hwcaps)) {
14564 if (VEX_MIPS_PROC_DSP(archinfo->hwcaps)) {
14626 if (VEX_MIPS_PROC_DSP(archinfo->hwcaps)) {
14692 if (VEX_MIPS_PROC_DSP(archinfo->hwcaps)) {
15126 && VEX_MIPS_COMP_ID(archinfo->hwcaps)
15294 if (VEX_MIPS_COMP_ID(archinfo->hwcaps) == VEX_PRID_COMP_CAVIUM) {
15301 if (VEX_MIPS_PROC_DSP(archinfo->hwcaps)) {
15317 if (VEX_MIPS_PROC_DSP2(archinfo->hwcaps)) {
15329 if (VEX_MIPS_PROC_DSP(archinfo->hwcaps)) {
[all...]
H A Dhost_amd64_isel.c156 UInt hwcaps; member in struct:__anon22110
3711 LibVEX_ppVexHwCaps(VexArchAMD64, env->hwcaps));
4273 LibVEX_ppVexHwCaps(VexArchAMD64, env->hwcaps));
4719 if (!(env->hwcaps & VEX_HWCAPS_AMD64_CX16))
4936 UInt hwcaps_host = archinfo_host->hwcaps;
4971 env->hwcaps = hwcaps_host;
H A Dguest_ppc_toIR.c19022 UInt hwcaps = archinfo->hwcaps; local
19028 allow_V = (0 != (hwcaps & VEX_HWCAPS_PPC64_V));
19029 allow_FX = (0 != (hwcaps & VEX_HWCAPS_PPC64_FX));
19030 allow_GX = (0 != (hwcaps & VEX_HWCAPS_PPC64_GX));
19031 allow_VX = (0 != (hwcaps & VEX_HWCAPS_PPC64_VX));
19032 allow_DFP = (0 != (hwcaps & VEX_HWCAPS_PPC64_DFP));
19033 allow_isa_2_07 = (0 != (hwcaps & VEX_HWCAPS_PPC64_ISA2_07));
19035 allow_F = (0 != (hwcaps & VEX_HWCAPS_PPC32_F));
19036 allow_V = (0 != (hwcaps
[all...]
H A Dhost_mips_isel.c120 UInt hwcaps; member in struct:__anon22370
4169 UInt hwcaps_host = archinfo_host->hwcaps;
4207 env->hwcaps = hwcaps_host;
4209 env->hwcaps = hwcaps_host;
H A Dhost_s390_isel.c112 UInt hwcaps; member in struct:__anon22534
4102 UInt hwcaps_host = archinfo_host->hwcaps;
4140 env->hwcaps = hwcaps_host;
H A Dguest_x86_toIR.c8469 if (archinfo->hwcaps == 0/*baseline, no sse at all*/)
8480 if (archinfo->hwcaps == VEX_HWCAPS_X86_MMXEXT/*integer only sse1 subset*/)
9094 if (archinfo->hwcaps == VEX_HWCAPS_X86_MMXEXT/*integer only sse1 subset*/)
9546 if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE2))
11789 if (0 == (archinfo->hwcaps & VEX_HWCAPS_X86_SSE3))
12938 && 0 != (archinfo->hwcaps & VEX_HWCAPS_X86_LZCNT)) {
14847 if (archinfo->hwcaps & VEX_HWCAPS_X86_SSE3) {
14852 if (archinfo->hwcaps & VEX_HWCAPS_X86_SSE2) {
14857 if (archinfo->hwcaps & VEX_HWCAPS_X86_SSE1) {
14862 if (archinfo->hwcaps
[all...]
/external/valgrind/coregrind/m_initimg/
H A Dinitimg-solaris.c658 UInt hwcaps; local
665 /* Set default hwcaps. */
666 hwcaps =
676 /* Handle additional hwcaps. */
677 if (vex_archinfo.hwcaps & VEX_HWCAPS_X86_SSE1)
678 hwcaps |=
681 if (vex_archinfo.hwcaps & VEX_HWCAPS_X86_SSE2) {
682 vg_assert(vex_archinfo.hwcaps & VEX_HWCAPS_X86_SSE1);
683 hwcaps |=
686 if (vex_archinfo.hwcaps
[all...]
H A Dinitimg-linux.c390 /* The HW configuration setting (hwcaps) of the target can be
714 * or beyond). The Valgrind vai.hwcaps value
737 hw_caps_2_07 = (vex_archinfo->hwcaps & VEX_HWCAPS_PPC64_ISA2_07)
/external/valgrind/coregrind/
H A Dm_machine.c516 /* For hwcaps detection on ppc32/64, s390x, and arm we'll need to do SIGILL
845 vai.hwcaps = VEX_HWCAPS_X86_MMXEXT;
846 vai.hwcaps |= VEX_HWCAPS_X86_SSE1;
847 vai.hwcaps |= VEX_HWCAPS_X86_SSE2;
848 vai.hwcaps |= VEX_HWCAPS_X86_SSE3;
850 vai.hwcaps |= VEX_HWCAPS_X86_LZCNT;
853 vai.hwcaps = VEX_HWCAPS_X86_MMXEXT;
854 vai.hwcaps |= VEX_HWCAPS_X86_SSE1;
855 vai.hwcaps |= VEX_HWCAPS_X86_SSE2;
857 vai.hwcaps |
[all...]
H A Dm_cache.c610 if (! (vai->hwcaps & VEX_HWCAPS_S390X_GIE)) {
H A Dm_main.c1491 "Arch and hwcaps: %s, %s, %s\n",
1494 LibVEX_ppVexHwCaps ( vex_arch, vex_archinfo.hwcaps )
1839 1, "main", "... arch = %s, hwcaps = %s\n",
1841 LibVEX_ppVexHwCaps ( vex_arch, vex_archinfo.hwcaps )
/external/skia/src/core/
H A DSkCpu.cpp83 uint32_t hwcaps = getauxval(AT_HWCAP); local
84 if (hwcaps & HWCAP_CRC32) { features |= SkCpu::CRC32; }
95 uint32_t hwcaps = getauxval(AT_HWCAP); local
96 if (hwcaps & HWCAP_VFPv4) { features |= SkCpu::NEON|SkCpu::NEON_FMA|SkCpu::VFP_FP16; }
/external/v8/src/base/
H A Dcpu.cc510 // Try to extract the list of CPU features from ELF hwcaps.
511 uint32_t hwcaps = ReadELFHWCaps(); local
512 if (hwcaps != 0) {
513 has_idiva_ = (hwcaps & HWCAP_IDIVA) != 0;
514 has_neon_ = (hwcaps & HWCAP_NEON) != 0;
515 has_vfp_ = (hwcaps & HWCAP_VFP) != 0;
516 has_vfp3_ = (hwcaps & (HWCAP_VFPv3 | HWCAP_VFPv3D16 | HWCAP_VFPv4)) != 0;
517 has_vfp3_d32_ = (has_vfp3_ && ((hwcaps & HWCAP_VFPv3D16) == 0 ||
518 (hwcaps & HWCAP_VFPD32) != 0));
/external/valgrind/none/tests/
H A Dlibvex_test.c120 /* returns whatever kind of hwcaps needed to make
232 vta.archinfo_guest.hwcaps = arch_hwcaps (vta.arch_guest);
235 vta.archinfo_host.hwcaps = arch_hwcaps (vta.arch_host);
274 vta.archinfo_host.hwcaps = arch_hwcaps (vta.arch_host);
/external/valgrind/VEX/pub/
H A Dlibvex.h160 /* Special value representing all available s390x hwcaps */
290 UInt hwcaps; member in struct:__anon22704
/external/valgrind/coregrind/m_gdbserver/
H A Dvalgrind-low-amd64.c315 return (vai.hwcaps & VEX_HWCAPS_AMD64_AVX ? True : False);
/external/valgrind/VEX/useful/
H A Dtest_main.c171 /* FIXME: put sensible values into the .hwcaps fields */
173 vai_x86.hwcaps = VEX_HWCAPS_X86_MMXEXT | VEX_HWCAPS_X86_SSE1
178 vai_amd64.hwcaps = 0;
182 vai_ppc32.hwcaps = 0;
186 vai_arm.hwcaps = VEX_HWCAPS_ARM_VFP3 | VEX_HWCAPS_ARM_NEON | 7;
190 vai_mips32.hwcaps = VEX_PRID_COMP_MIPS;
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dminidump_writer.cc921 // The ELF hwcaps are listed in the "Features" entry as textual tags.
925 uint32_t hwcaps; member in struct:__anon6694::MinidumpWriter::CpuFeaturesEntry
949 // No hwcaps on aarch64.
1002 // as the ELF hwcaps field. For the latter, it would be easier to
1083 // Rebuild the ELF hwcaps from the 'Features' field.
1108 sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry->hwcaps;

Completed in 501 milliseconds

12