Searched refs:hwcaps (Results 1 – 2 of 2) sorted by relevance
195 uint64_t hwcaps = getauxval(AT_HWCAP); in FromHwcap() local196 LOG(INFO) << "hwcaps=" << hwcaps; in FromHwcap()197 if ((hwcaps & HWCAP_IDIVT) != 0) { in FromHwcap()200 CHECK_NE(hwcaps & HWCAP_IDIVA, 0U); in FromHwcap()203 if ((hwcaps & HWCAP_LPAE) != 0) { in FromHwcap()209 if ((hwcaps & HWCAP2_CRC32) != 0 && (hwcaps & HWCAP2_SHA1) != 0) { in FromHwcap()
226 uint64_t hwcaps = getauxval(AT_HWCAP); in FromHwcap() local227 has_crc = hwcaps & HWCAP_CRC32 ? true : false; in FromHwcap()228 has_lse = hwcaps & HWCAP_ATOMICS ? true : false; in FromHwcap()229 has_fp16 = hwcaps & HWCAP_FPHP ? true : false; in FromHwcap()230 has_dotprod = hwcaps & HWCAP_ASIMDDP ? true : false; in FromHwcap()231 has_sve = hwcaps & HWCAP_SVE ? true : false; in FromHwcap()