• Home
  • Raw
  • Download

Lines Matching refs:hwcaps

568     uint32_t hwcaps = 0;  in get_elf_hwcap_from_proc_cpuinfo()  local
590 hwcaps |= HWCAP_VFP; in get_elf_hwcap_from_proc_cpuinfo()
592 hwcaps |= HWCAP_VFPv3; in get_elf_hwcap_from_proc_cpuinfo()
594 hwcaps |= HWCAP_VFPv3D16; in get_elf_hwcap_from_proc_cpuinfo()
596 hwcaps |= HWCAP_VFPv4; in get_elf_hwcap_from_proc_cpuinfo()
598 hwcaps |= HWCAP_NEON; in get_elf_hwcap_from_proc_cpuinfo()
600 hwcaps |= HWCAP_IDIVA; in get_elf_hwcap_from_proc_cpuinfo()
602 hwcaps |= HWCAP_IDIVT; in get_elf_hwcap_from_proc_cpuinfo()
604 hwcaps |= HWCAP_IDIVA | HWCAP_IDIVT; in get_elf_hwcap_from_proc_cpuinfo()
606 hwcaps |= HWCAP_IWMMXT; in get_elf_hwcap_from_proc_cpuinfo()
610 return hwcaps; in get_elf_hwcap_from_proc_cpuinfo()
760 uint32_t hwcaps = 0; in android_cpuInit() local
761 hwcaps = get_elf_hwcap_from_getauxval(AT_HWCAP); in android_cpuInit()
762 if (!hwcaps) { in android_cpuInit()
764 hwcaps = get_elf_hwcap_from_proc_self_auxv(); in android_cpuInit()
766 if (!hwcaps) { in android_cpuInit()
771 hwcaps = get_elf_hwcap_from_proc_cpuinfo(cpuinfo, cpuinfo_len); in android_cpuInit()
774 if (hwcaps != 0) { in android_cpuInit()
775 int has_vfp = (hwcaps & HWCAP_VFP); in android_cpuInit()
776 int has_vfpv3 = (hwcaps & HWCAP_VFPv3); in android_cpuInit()
777 int has_vfpv3d16 = (hwcaps & HWCAP_VFPv3D16); in android_cpuInit()
778 int has_vfpv4 = (hwcaps & HWCAP_VFPv4); in android_cpuInit()
779 int has_neon = (hwcaps & HWCAP_NEON); in android_cpuInit()
780 int has_idiva = (hwcaps & HWCAP_IDIVA); in android_cpuInit()
781 int has_idivt = (hwcaps & HWCAP_IDIVT); in android_cpuInit()
782 int has_iwmmxt = (hwcaps & HWCAP_IWMMXT); in android_cpuInit()
944 uint32_t hwcaps = 0; in android_cpuInit() local
945 hwcaps = get_elf_hwcap_from_getauxval(AT_HWCAP); in android_cpuInit()
946 if (hwcaps != 0) { in android_cpuInit()
947 int has_fp = (hwcaps & HWCAP_FP); in android_cpuInit()
948 int has_asimd = (hwcaps & HWCAP_ASIMD); in android_cpuInit()
949 int has_aes = (hwcaps & HWCAP_AES); in android_cpuInit()
950 int has_pmull = (hwcaps & HWCAP_PMULL); in android_cpuInit()
951 int has_sha1 = (hwcaps & HWCAP_SHA1); in android_cpuInit()
952 int has_sha2 = (hwcaps & HWCAP_SHA2); in android_cpuInit()
953 int has_crc32 = (hwcaps & HWCAP_CRC32); in android_cpuInit()
1007 uint32_t hwcaps = 0; in android_cpuInit() local
1008 hwcaps = get_elf_hwcap_from_getauxval(AT_HWCAP); in android_cpuInit()
1009 if (hwcaps != 0) { in android_cpuInit()
1010 int has_r6 = (hwcaps & HWCAP_MIPS_R6); in android_cpuInit()
1011 int has_msa = (hwcaps & HWCAP_MIPS_MSA); in android_cpuInit()