Home | History | Annotate | Download | only in cpufeatures

Lines Matching refs:hwcaps

498 // On success, return new ELF hwcaps, or 0 on failure.
536 uint32_t hwcaps = 0;
548 D("Faking 32-bit ARM HWCaps on ARMv%ld CPU\n", architecture);
558 hwcaps |= HWCAP_VFP;
560 hwcaps |= HWCAP_VFPv3;
562 hwcaps |= HWCAP_VFPv3D16;
564 hwcaps |= HWCAP_VFPv4;
566 hwcaps |= HWCAP_NEON;
568 hwcaps |= HWCAP_IDIVA;
570 hwcaps |= HWCAP_IDIVT;
572 hwcaps |= HWCAP_IDIVA | HWCAP_IDIVT;
574 hwcaps |= HWCAP_IWMMXT;
578 return hwcaps;
727 /* Extract the list of CPU features from ELF hwcaps */
728 uint32_t hwcaps = 0;
729 hwcaps = get_elf_hwcap_from_getauxval();
730 if (!hwcaps) {
731 D("Parsing /proc/self/auxv to extract ELF hwcaps!\n");
732 hwcaps = get_elf_hwcap_from_proc_self_auxv();
734 if (!hwcaps) {
738 D("Parsing /proc/cpuinfo to extract ELF hwcaps!\n");
739 hwcaps = get_elf_hwcap_from_proc_cpuinfo(cpuinfo, cpuinfo_len);
742 if (hwcaps != 0) {
743 int has_vfp = (hwcaps & HWCAP_VFP);
744 int has_vfpv3 = (hwcaps & HWCAP_VFPv3);
745 int has_vfpv3d16 = (hwcaps & HWCAP_VFPv3D16);
746 int has_vfpv4 = (hwcaps & HWCAP_VFPv4);
747 int has_neon = (hwcaps & HWCAP_NEON);
748 int has_idiva = (hwcaps & HWCAP_IDIVA);
749 int has_idivt = (hwcaps & HWCAP_IDIVT);
750 int has_iwmmxt = (hwcaps & HWCAP_IWMMXT);