Home
last modified time | relevance | path

Searched refs:has_avx2 (Results 1 – 25 of 27) sorted by relevance

12

/external/libchrome/base/
Dcpu_unittest.cc70 if (cpu.has_avx2()) { in TEST()
120 if (cpu.has_avx2()) { in TEST()
Dcpu.h50 bool has_avx2() const { return has_avx2_; } in has_avx2() function
Dcpu.cc231 if (has_avx2()) return AVX2; in GetIntelMicroArchitecture()
/external/libyuv/files/util/
Dcpuid.c83 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in main() local
99 printf("Has AVX2 %x\n", has_avx2); in main()
/external/libyuv/files/unit_test/
Dcpu_test.cc36 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
53 printf("Has AVX2 %d\n", has_avx2); in TEST_F()
Dcompare_test.cc235 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F()
236 if (has_avx2) { in TEST_F()
356 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F()
357 if (has_avx2) { in TEST_F()
Dplanar_test.cc2684 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
2686 if (has_avx2) { in TEST_F()
2725 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
2727 if (has_avx2) { in TEST_F()
2800 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
2803 if (has_avx2) { in TEST_F()
2873 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
2876 if (has_avx2) { in TEST_F()
Dconvert_test.cc2738 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
2741 if (has_avx2) { in TEST_F()
2772 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
2775 if (has_avx2) { in TEST_F()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_cpu_detect.h67 unsigned has_avx2:1; member
Du_cpu_detect.c388 util_cpu_caps.has_avx2 = (regs7[1] >> 5) & 1; in util_cpu_detect()
446 debug_printf("util_cpu_caps.has_avx2 = %u\n", util_cpu_caps.has_avx2); in util_cpu_detect()
/external/tensorflow/tensorflow/core/platform/
Dport_test.cc186 const bool has_avx2 = TestCPUFeature(CPUFeature::AVX2); in TEST() local
187 LOG(INFO) << "has_avx2 = " << has_avx2; in TEST()
/external/mesa3d/src/util/
Du_cpu_detect.h78 unsigned has_avx2:1; member
Du_cpu_detect.c639 util_cpu_caps.has_avx2 = (regs7[1] >> 5) & 1; in util_cpu_detect_once()
723 debug_printf("util_cpu_caps.has_avx2 = %u\n", util_cpu_caps.has_avx2); in util_cpu_detect_once()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_init.c442 util_cpu_caps.has_avx2 = 0; in lp_build_init()
448 if (util_cpu_caps.has_avx2 || util_cpu_caps.has_avx) { in lp_build_init()
470 util_cpu_caps.has_avx2 = 0; in lp_build_init()
Dlp_bld_logic.c355 (util_cpu_caps.has_avx2 && in lp_build_select()
382 assert(util_cpu_caps.has_avx2); in lp_build_select()
Dlp_bld_gather.c491 } else if (util_cpu_caps.has_avx2 && !need_expansion && in lp_build_gather()
503 } else if (0 && util_cpu_caps.has_avx2 && !need_expansion && in lp_build_gather()
Dlp_bld_misc.cpp418 MAttrs.push_back(util_cpu_caps.has_avx2 ? "+avx2" : "-avx2"); in lp_build_create_jit_compiler_for_module()
Dlp_bld_pack.c487 if (src_type.length * src_type.width == 256 && util_cpu_caps.has_avx2) { in lp_build_unpack2_native()
743 util_cpu_caps.has_avx2) { in lp_build_pack2_native()
Dlp_bld_arit.c488 if (util_cpu_caps.has_avx2) { in lp_build_add()
812 if (util_cpu_caps.has_avx2) { in lp_build_sub()
1099 if (util_cpu_caps.has_avx2 && bld->type.length == 8) { in lp_build_mul_32_lohi_cpu()
1758 else if (type.width*type.length == 256 && util_cpu_caps.has_avx2 && LLVM_VERSION_MAJOR < 6) { in lp_build_abs()
Dlp_bld_sample.c1155 (util_cpu_caps.has_avx2 || !util_cpu_caps.has_sse)) { in lp_build_minify()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_loader.cpp116 if (util_cpu_caps.has_avx2) { in swr_create_screen()
/external/rust/crates/quiche/deps/boringssl/src/crypto/hrss/
Dhrss_test.cc454 const bool has_avx2 = (OPENSSL_ia32cap_P[2] & (1 << 5)) != 0; in TEST() local
455 if (!has_avx2) { in TEST()
Dhrss.c1291 const int has_avx2 = (OPENSSL_ia32cap_P[2] & (1 << 5)) != 0; in poly_mul() local
1292 if (has_avx2) { in poly_mul()
/external/boringssl/src/crypto/hrss/
Dhrss_test.cc454 const bool has_avx2 = (OPENSSL_ia32cap_P[2] & (1 << 5)) != 0; in TEST() local
455 if (!has_avx2) { in TEST()
Dhrss.c1291 const int has_avx2 = (OPENSSL_ia32cap_P[2] & (1 << 5)) != 0; in poly_mul() local
1292 if (has_avx2) { in poly_mul()

12