Home | History | Annotate | Download | only in coregrind

Lines Matching refs:vai

499 static VexArchInfo vai;
775 // Whack default settings into vai, so that we only need to fill in
777 LibVEX_default_VexArchInfo(&vai);
842 vai.endness = VexEndnessLE;
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 |= VEX_HWCAPS_X86_LZCNT;
860 vai.hwcaps = VEX_HWCAPS_X86_MMXEXT;
861 vai.hwcaps |= VEX_HWCAPS_X86_SSE1;
864 vai.hwcaps = VEX_HWCAPS_X86_MMXEXT; /*integer only sse1 subset*/
867 vai.hwcaps = 0; /*baseline - no sse at all*/
871 VG_(machine_get_cache_info)(&vai);
970 vai.endness = VexEndnessLE;
971 vai.hwcaps = (have_sse3 ? VEX_HWCAPS_AMD64_SSE3 : 0)
979 VG_(machine_get_cache_info)(&vai);
1102 find_ppc_dcbz_sz(&vai);
1126 vai.endness = VexEndnessBE;
1128 vai.hwcaps = 0;
1129 if (have_F) vai.hwcaps |= VEX_HWCAPS_PPC32_F;
1130 if (have_V) vai.hwcaps |= VEX_HWCAPS_PPC32_V;
1131 if (have_FX) vai.hwcaps |= VEX_HWCAPS_PPC32_FX;
1132 if (have_GX) vai.hwcaps |= VEX_HWCAPS_PPC32_GX;
1133 if (have_VX) vai.hwcaps |= VEX_HWCAPS_PPC32_VX;
1134 if (have_DFP) vai.hwcaps |= VEX_HWCAPS_PPC32_DFP;
1135 if (have_isa_2_07) vai.hwcaps |= VEX_HWCAPS_PPC32_ISA2_07;
1137 VG_(machine_get_cache_info)(&vai);
1249 find_ppc_dcbz_sz(&vai);
1266 vai.endness = VexEndnessLE;
1268 vai.endness = VexEndnessBE;
1270 vai.endness = VexEndness_INVALID;
1273 vai.hwcaps = 0;
1274 if (have_V) vai.hwcaps |= VEX_HWCAPS_PPC64_V;
1275 if (have_FX) vai.hwcaps |= VEX_HWCAPS_PPC64_FX;
1276 if (have_GX) vai.hwcaps |= VEX_HWCAPS_PPC64_GX;
1277 if (have_VX) vai.hwcaps |= VEX_HWCAPS_PPC64_VX;
1278 if (have_DFP) vai.hwcaps |= VEX_HWCAPS_PPC64_DFP;
1279 if (have_isa_2_07) vai.hwcaps |= VEX_HWCAPS_PPC64_ISA2_07;
1281 VG_(machine_get_cache_info)(&vai);
1364 vai.endness = VexEndnessBE;
1366 vai.hwcaps = model;
1367 if (have_STFLE) vai.hwcaps |= VEX_HWCAPS_S390X_STFLE;
1372 vai.hwcaps |= VEX_HWCAPS_S390X_LDISP;
1402 vai.hwcaps |= fac_hwcaps[i].hwcaps_bit;
1420 VG_(debugLog)(1, "machine", "hwcaps = 0x%x\n", vai.hwcaps);
1422 VG_(machine_get_cache_info)(&vai);
1526 vai.endness = VexEndnessLE;
1528 vai.hwcaps = VEX_ARM_ARCHLEVEL(archlevel);
1529 if (have_VFP3) vai.hwcaps |= VEX_HWCAPS_ARM_VFP3;
1530 if (have_VFP2) vai.hwcaps |= VEX_HWCAPS_ARM_VFP2;
1531 if (have_VFP) vai.hwcaps |= VEX_HWCAPS_ARM_VFP;
1532 if (have_NEON) vai.hwcaps |= VEX_HWCAPS_ARM_NEON;
1534 VG_(machine_get_cache_info)(&vai);
1542 vai.endness = VexEndnessLE;
1545 vai.hwcaps = 0;
1547 VG_(machine_get_cache_info)(&vai);
1551 vg_assert(vai.arm64_dMinLine_lg2_szB == 0);
1552 vg_assert(vai.arm64_iMinLine_lg2_szB == 0);
1555 vai.arm64_dMinLine_lg2_szB = ((ctr_el0 >> 16) & 0xF) + 2;
1556 vai.arm64_iMinLine_lg2_szB = ((ctr_el0 >> 0) & 0xF) + 2;
1559 1 << vai.arm64_dMinLine_lg2_szB,
1560 1 << vai.arm64_iMinLine_lg2_szB);
1574 vai.hwcaps = model;
1577 vai.endness = VexEndnessLE;
1579 vai.endness = VexEndnessBE;
1581 vai.endness = VexEndness_INVALID;
1623 vai.hwcaps |= VEX_PRID_IMP_74K;
1634 vai.hwcaps |= VEX_PRID_IMP_34K;
1646 vai.hwcaps |= VEX_PRID_CPU_32FPR;
1653 VG_(debugLog)(1, "machine", "hwcaps = 0x%x\n", vai.hwcaps);
1654 VG_(machine_get_cache_info)(&vai);
1666 vai.hwcaps = model;
1669 vai.endness = VexEndnessLE;
1671 vai.endness = VexEndnessBE;
1673 vai.endness = VexEndness_INVALID;
1676 VG_(machine_get_cache_info)(&vai);
1684 vai.hwcaps = VEX_HWCAPS_TILEGX_BASE;
1685 vai.endness = VexEndnessLE;
1687 VG_(machine_get_cache_info)(&vai);
1706 vg_assert(vai.ppc_icache_line_szB == 0
1707 || vai.ppc_icache_line_szB == szB);
1710 vai.ppc_icache_line_szB = szB;
1724 vg_assert(vai.ppc_icache_line_szB == 0
1725 || vai.ppc_icache_line_szB == szB);
1728 vai.ppc_icache_line_szB = szB;
1741 vai.hwcaps |= VEX_HWCAPS_ARM_NEON;
1743 vai.hwcaps &= ~VEX_HWCAPS_ARM_NEON;
1755 if (pVai) *pVai = vai;
1776 /* Once hwcaps_done is True, we can fish around inside va/vai to
1789 return (vai.hwcaps & VEX_HWCAPS_AMD64_AVX) ? 32 : 16;
1793 if (vai.hwcaps & VEX_HWCAPS_PPC32_V) return 16;
1794 if (vai.hwcaps & VEX_HWCAPS_PPC32_VX) return 16;
1795 if (vai.hwcaps & VEX_HWCAPS_PPC32_DFP) return 16;
1800 if (vai.hwcaps & VEX_HWCAPS_PPC64_V) return 16;
1801 if (vai.hwcaps & VEX_HWCAPS_PPC64_VX) return 16;
1802 if (vai.hwcaps & VEX_HWCAPS_PPC64_DFP) return 16;