Lines Matching full:hwcaps
488 // Recreate ELF hwcaps by parsing /proc/cpuinfo Features tag.
489 uint32_t hwcaps = 0;
497 hwcaps |= HWCAP_VFP;
499 hwcaps |= HWCAP_VFPv3;
501 hwcaps |= HWCAP_VFPv3D16;
503 hwcaps |= HWCAP_VFPv4;
505 hwcaps |= HWCAP_NEON;
507 hwcaps |= HWCAP_IDIVA;
509 hwcaps |= HWCAP_IDIVT;
511 hwcaps |= HWCAP_IDIVA | HWCAP_IDIVT;
513 hwcaps |= HWCAP_IWMMXT;
517 return hwcaps;
666 /* Extract the list of CPU features from ELF hwcaps */
667 uint32_t hwcaps = get_elf_hwcap(cpuinfo, cpuinfo_len);
669 if (hwcaps != 0) {
670 int has_vfp = (hwcaps & HWCAP_VFP);
671 int has_vfpv3 = (hwcaps & HWCAP_VFPv3);
672 int has_vfpv3d16 = (hwcaps & HWCAP_VFPv3D16);
673 int has_vfpv4 = (hwcaps & HWCAP_VFPv4);
674 int has_neon = (hwcaps & HWCAP_NEON);
675 int has_idiva = (hwcaps & HWCAP_IDIVA);
676 int has_idivt = (hwcaps & HWCAP_IDIVT);
677 int has_iwmmxt = (hwcaps & HWCAP_IWMMXT);