Searched refs:util_cpu_caps (Results 1 – 17 of 17) sorted by relevance
81 struct util_cpu_caps util_cpu_caps; variable119 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 …]
48 struct util_cpu_caps { struct70 extern struct util_cpu_caps argument71 util_cpu_caps;
81 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 …]
38 static struct util_cpu_caps *get_cpu_caps(void) in get_cpu_caps()41 return &util_cpu_caps; in get_cpu_caps()
2154 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()
161 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()
88 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 …]
104 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()
261 if (util_cpu_caps.has_avx) { in lp_build_create_mcjit_compiler_for_module()
400 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()
87 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()
399 util_cpu_caps.has_sse2) in lp_build_conv()454 util_cpu_caps.has_avx) { in lp_build_conv()
1341 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()
452 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()
448 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()
974 uint alignment = MAX2(16, util_cpu_caps.cacheline); in alloc_image_data()
60 if (!util_cpu_caps.has_sse2) in draw_get_option_use_llvm()