Home
last modified time | relevance | path

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

/external/libyuv/files/util/
Dcpuid.c78 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in main() local
88 printf("Has AVX2 %x\n", has_avx2); in main()
/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/tensorflow/tensorflow/core/platform/
Dport_test.cc84 const bool has_avx2 = TestCPUFeature(CPUFeature::AVX2); in TEST() local
85 LOG(INFO) << "has_avx2 = " << has_avx2; in TEST()
/external/libyuv/files/unit_test/
Dcpu_test.cc40 int has_avx2 = TestCpuFlag(kCpuHasAVX2); in TEST_F() local
41 printf("Has AVX2 %x\n", has_avx2); in TEST_F()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_init.c420 util_cpu_caps.has_avx2 = 0; in lp_build_init()
455 util_cpu_caps.has_avx2 = 0; in lp_build_init()
462 util_cpu_caps.has_avx2 = 0; in lp_build_init()
Dlp_bld_logic.c354 (util_cpu_caps.has_avx2 && in lp_build_select()
376 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_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_misc.cpp614 MAttrs.push_back(util_cpu_caps.has_avx2 ? "+avx2" : "-avx2"); in lp_build_create_jit_compiler_for_module()
Dlp_bld_arit.c146 util_cpu_caps.has_avx2 && type.length > 4) { in lp_build_min_simple()
364 util_cpu_caps.has_avx2 && type.length > 4) { in lp_build_max_simple()
572 if (util_cpu_caps.has_avx2) { in lp_build_add()
873 if (util_cpu_caps.has_avx2) { in lp_build_sub()
1145 if (util_cpu_caps.has_avx2 && bld->type.length == 8) { in lp_build_mul_32_lohi_cpu()
1812 else if (type.width*type.length == 256 && util_cpu_caps.has_avx2 && HAVE_LLVM < 0x0600) { in lp_build_abs()
Dlp_bld_sample_aos.c1417 !util_cpu_caps.has_avx2 && in lp_build_sample_mipmap()
Dlp_bld_sample.c1118 (util_cpu_caps.has_avx2 || !util_cpu_caps.has_sse)) { in lp_build_minify()
Dlp_bld_sample_soa.c3171 (util_cpu_caps.has_avx2 && in lp_build_sample_soa_code()
/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/mesa3d/src/gallium/auxiliary/util/
Du_cpu_detect.h67 unsigned has_avx2:1; member
Du_cpu_detect.c449 util_cpu_caps.has_avx2 = (regs7[1] >> 5) & 1; in util_cpu_detect()
532 debug_printf("util_cpu_caps.has_avx2 = %u\n", util_cpu_caps.has_avx2); in util_cpu_detect()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_loader.cpp100 if (util_cpu_caps.has_avx2) { in swr_create_screen()
/external/boringssl/src/crypto/hrss/
Dhrss_test.cc485 const bool has_avx2 = (OPENSSL_ia32cap_P[2] & (1 << 5)) != 0; in TEST() local
486 if (!has_avx2) { in TEST()
Dhrss.c1390 const int has_avx2 = (OPENSSL_ia32cap_P[2] & (1 << 5)) != 0; in poly_mul() local
1391 if (has_avx2) { in poly_mul()