Home
last modified time | relevance | path

Searched refs:util_cpu_caps (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_cpu_detect.c81 struct util_cpu_caps util_cpu_caps; variable
119 util_cpu_caps.has_altivec = 1; in check_os_altivec_support()
138 util_cpu_caps.has_altivec = 1; in check_os_altivec_support()
224 memset(&util_cpu_caps, 0, sizeof util_cpu_caps); in util_cpu_detect()
231 util_cpu_caps.nr_cpus = system_info.dwNumberOfProcessors; in util_cpu_detect()
234 util_cpu_caps.nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in util_cpu_detect()
235 if (util_cpu_caps.nr_cpus == -1) in util_cpu_detect()
236 util_cpu_caps.nr_cpus = 1; in util_cpu_detect()
247 util_cpu_caps.nr_cpus = ncpu; in util_cpu_detect()
250 util_cpu_caps.nr_cpus = 1; in util_cpu_detect()
[all …]
Du_cpu_detect.h48 struct util_cpu_caps { struct
70 extern struct util_cpu_caps argument
71 util_cpu_caps;
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c81 util_cpu_caps.has_sse = 0; in main()
82 util_cpu_caps.has_sse2 = 0; in main()
83 util_cpu_caps.has_sse3 = 0; in main()
84 util_cpu_caps.has_sse4_1 = 0; in main()
89 if(!util_cpu_caps.has_sse || !rtasm_cpu_has_sse()) in main()
94 util_cpu_caps.has_sse2 = 0; in main()
95 util_cpu_caps.has_sse3 = 0; in main()
96 util_cpu_caps.has_sse4_1 = 0; in main()
101 if(!util_cpu_caps.has_sse2 || !rtasm_cpu_has_sse()) in main()
106 util_cpu_caps.has_sse3 = 0; in main()
[all …]
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_cpu.c38 static struct util_cpu_caps *get_cpu_caps(void) in get_cpu_caps()
41 return &util_cpu_caps; in get_cpu_caps()
Drtasm_x86sse.c2154 if(util_cpu_caps.has_mmx) in x86_init_func_common()
2156 if(util_cpu_caps.has_mmx2) in x86_init_func_common()
2158 if(util_cpu_caps.has_sse) in x86_init_func_common()
2160 if(util_cpu_caps.has_sse2) in x86_init_func_common()
2162 if(util_cpu_caps.has_sse3) in x86_init_func_common()
2164 if(util_cpu_caps.has_sse4_1) in x86_init_func_common()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_init.c161 if (util_cpu_caps.has_sse4_1) { in create_pass_manager()
438 util_cpu_caps.has_avx) { in lp_build_init()
454 util_cpu_caps.has_sse3 = 0; in lp_build_init()
455 util_cpu_caps.has_ssse3 = 0; in lp_build_init()
456 util_cpu_caps.has_sse4_1 = 0; in lp_build_init()
Dlp_bld_arit.c88 if (type.floating && util_cpu_caps.has_sse) { in lp_build_min_simple()
94 else if (type.length <= 4 || !util_cpu_caps.has_avx) { in lp_build_min_simple()
103 if (type.width == 64 && util_cpu_caps.has_sse2) { in lp_build_min_simple()
108 else if (type.length == 2 || !util_cpu_caps.has_avx) { in lp_build_min_simple()
118 else if (util_cpu_caps.has_sse2 && type.length >= 2) { in lp_build_min_simple()
132 if (util_cpu_caps.has_sse4_1) { in lp_build_min_simple()
178 if (type.floating && util_cpu_caps.has_sse) { in lp_build_max_simple()
184 else if (type.length <= 4 || !util_cpu_caps.has_avx) { in lp_build_max_simple()
193 if (type.width == 64 && util_cpu_caps.has_sse2) { in lp_build_max_simple()
198 else if (type.length == 2 || !util_cpu_caps.has_avx) { in lp_build_max_simple()
[all …]
Dlp_bld_logic.c104 util_cpu_caps.has_sse2 && in lp_build_compare()
118 if(type.floating && util_cpu_caps.has_sse) { in lp_build_compare()
169 else if(util_cpu_caps.has_sse2) { in lp_build_compare()
488 else if (((util_cpu_caps.has_sse4_1 && in lp_build_select()
490 (util_cpu_caps.has_avx && in lp_build_select()
Dlp_bld_misc.cpp261 if (util_cpu_caps.has_avx) { in lp_build_create_mcjit_compiler_for_module()
Dlp_bld_pack.c400 if(util_cpu_caps.has_sse2 && src_type.width * src_type.length >= 128) { in lp_build_pack2()
409 if (util_cpu_caps.has_sse4_1) { in lp_build_pack2()
517 if(util_cpu_caps.has_sse2 && in lp_build_packs2()
Dlp_bld_format_yuv.c87 if (util_cpu_caps.has_sse2 && n > 1) { in uyvy_to_yuv_soa()
155 if (util_cpu_caps.has_sse2 && n > 1) { in yuyv_to_yuv_soa()
Dlp_bld_conv.c399 util_cpu_caps.has_sse2) in lp_build_conv()
454 util_cpu_caps.has_avx) { in lp_build_conv()
Dlp_bld_sample_aos.c1341 if (util_cpu_caps.has_avx && bld->coord_type.length > 4) { in lp_build_sample_mipmap()
1427 if (util_cpu_caps.has_avx && bld->coord_type.length > 4) { in lp_build_sample_mipmap()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c452 if (!util_cpu_caps.has_sse2) in llvmpipe_create_screen()
487 screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0; in llvmpipe_create_screen()
Dlp_bld_depth.c448 if(util_cpu_caps.has_sse && type.length == 4) { in lp_build_occlusion_count()
458 else if(util_cpu_caps.has_avx && type.length == 8) { in lp_build_occlusion_count()
Dlp_texture.c974 uint alignment = MAX2(16, util_cpu_caps.cacheline); in alloc_image_data()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c60 if (!util_cpu_caps.has_sse2) in draw_get_option_use_llvm()