Lines Matching full:hwcaps
468 // Recreate ELF hwcaps by parsing /proc/cpuinfo Features tag.
469 uint32_t hwcaps = 0;
477 hwcaps |= HWCAP_VFP;
479 hwcaps |= HWCAP_VFPv3;
481 hwcaps |= HWCAP_VFPv3D16;
483 hwcaps |= HWCAP_VFPv4;
485 hwcaps |= HWCAP_NEON;
487 hwcaps |= HWCAP_IDIVA;
489 hwcaps |= HWCAP_IDIVT;
491 hwcaps |= HWCAP_IDIVA | HWCAP_IDIVT;
493 hwcaps |= HWCAP_IWMMXT;
497 return hwcaps;
646 /* Extract the list of CPU features from ELF hwcaps */
647 uint32_t hwcaps = get_elf_hwcap(cpuinfo, cpuinfo_len);
649 if (hwcaps != 0) {
650 int has_vfp = (hwcaps & HWCAP_VFP);
651 int has_vfpv3 = (hwcaps & HWCAP_VFPv3);
652 int has_vfpv3d16 = (hwcaps & HWCAP_VFPv3D16);
653 int has_vfpv4 = (hwcaps & HWCAP_VFPv4);
654 int has_neon = (hwcaps & HWCAP_NEON);
655 int has_idiva = (hwcaps & HWCAP_IDIVA);
656 int has_idivt = (hwcaps & HWCAP_IDIVT);
657 int has_iwmmxt = (hwcaps & HWCAP_IWMMXT);