Home | History | Annotate | Download | only in cpu-features

Lines Matching refs:hwcaps

469     // Recreate ELF hwcaps by parsing /proc/cpuinfo Features tag.
470 uint32_t hwcaps = 0;
478 hwcaps |= HWCAP_VFP;
480 hwcaps |= HWCAP_VFPv3;
482 hwcaps |= HWCAP_VFPv3D16;
484 hwcaps |= HWCAP_VFPv4;
486 hwcaps |= HWCAP_NEON;
488 hwcaps |= HWCAP_IDIVA;
490 hwcaps |= HWCAP_IDIVT;
492 hwcaps |= HWCAP_IDIVA | HWCAP_IDIVT;
494 hwcaps |= HWCAP_IWMMXT;
498 return hwcaps;
647 /* Extract the list of CPU features from ELF hwcaps */
648 uint32_t hwcaps = get_elf_hwcap(cpuinfo, cpuinfo_len);
650 if (hwcaps != 0) {
651 int has_vfp = (hwcaps & HWCAP_VFP);
652 int has_vfpv3 = (hwcaps & HWCAP_VFPv3);
653 int has_vfpv3d16 = (hwcaps & HWCAP_VFPv3D16);
654 int has_vfpv4 = (hwcaps & HWCAP_VFPv4);
655 int has_neon = (hwcaps & HWCAP_NEON);
656 int has_idiva = (hwcaps & HWCAP_IDIVA);
657 int has_idivt = (hwcaps & HWCAP_IDIVT);
658 int has_iwmmxt = (hwcaps & HWCAP_IWMMXT);