/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_misc.cpp | 403 MAttrs.push_back(util_get_cpu_caps()->has_sse ? "+sse" : "-sse" ); in lp_build_create_jit_compiler_for_module() 404 MAttrs.push_back(util_get_cpu_caps()->has_sse2 ? "+sse2" : "-sse2" ); in lp_build_create_jit_compiler_for_module() 405 MAttrs.push_back(util_get_cpu_caps()->has_sse3 ? "+sse3" : "-sse3" ); in lp_build_create_jit_compiler_for_module() 406 MAttrs.push_back(util_get_cpu_caps()->has_ssse3 ? "+ssse3" : "-ssse3" ); in lp_build_create_jit_compiler_for_module() 407 MAttrs.push_back(util_get_cpu_caps()->has_sse4_1 ? "+sse4.1" : "-sse4.1"); in lp_build_create_jit_compiler_for_module() 408 MAttrs.push_back(util_get_cpu_caps()->has_sse4_2 ? "+sse4.2" : "-sse4.2"); in lp_build_create_jit_compiler_for_module() 415 MAttrs.push_back(util_get_cpu_caps()->has_avx ? "+avx" : "-avx"); in lp_build_create_jit_compiler_for_module() 416 MAttrs.push_back(util_get_cpu_caps()->has_f16c ? "+f16c" : "-f16c"); in lp_build_create_jit_compiler_for_module() 417 MAttrs.push_back(util_get_cpu_caps()->has_fma ? "+fma" : "-fma"); in lp_build_create_jit_compiler_for_module() 418 MAttrs.push_back(util_get_cpu_caps()->has_avx2 ? "+avx2" : "-avx2"); in lp_build_create_jit_compiler_for_module() [all …]
|
D | lp_bld_init.c | 451 if (util_get_cpu_caps()->has_avx2 || util_get_cpu_caps()->has_avx) { in lp_build_init() 472 util_get_cpu_caps()->has_avx = 0; in lp_build_init() 473 util_get_cpu_caps()->has_avx2 = 0; in lp_build_init() 474 util_get_cpu_caps()->has_f16c = 0; in lp_build_init() 475 util_get_cpu_caps()->has_fma = 0; in lp_build_init() 488 if (util_get_cpu_caps()->has_altivec) { in lp_build_init()
|
D | lp_bld_arit.c | 107 if (type.floating && util_get_cpu_caps()->has_sse) { in lp_build_min_simple() 113 else if (type.length <= 4 || !util_get_cpu_caps()->has_avx) { in lp_build_min_simple() 122 if (type.width == 64 && util_get_cpu_caps()->has_sse2) { in lp_build_min_simple() 127 else if (type.length == 2 || !util_get_cpu_caps()->has_avx) { in lp_build_min_simple() 137 else if (type.floating && util_get_cpu_caps()->has_altivec) { in lp_build_min_simple() 146 } else if (util_get_cpu_caps()->has_altivec) { in lp_build_min_simple() 176 if (util_get_cpu_caps()->has_sse && type.floating && in lp_build_min_simple() 261 if (type.floating && util_get_cpu_caps()->has_sse) { in lp_build_max_simple() 267 else if (type.length <= 4 || !util_get_cpu_caps()->has_avx) { in lp_build_max_simple() 276 if (type.width == 64 && util_get_cpu_caps()->has_sse2) { in lp_build_max_simple() [all …]
|
D | lp_bld_pack.c | 325 if (type.length == 2 && type.width == 128 && util_get_cpu_caps()->has_avx) { in lp_build_interleave2() 487 if (src_type.length * src_type.width == 256 && util_get_cpu_caps()->has_avx2) { in lp_build_unpack2_native() 588 if ((util_get_cpu_caps()->has_sse2 || util_get_cpu_caps()->has_altivec) && in lp_build_pack2() 595 if (util_get_cpu_caps()->has_sse2) { in lp_build_pack2() 599 if (util_get_cpu_caps()->has_sse4_1) { in lp_build_pack2() 603 } else if (util_get_cpu_caps()->has_altivec) { in lp_build_pack2() 616 if (util_get_cpu_caps()->has_sse2) { in lp_build_pack2() 618 } else if (util_get_cpu_caps()->has_altivec) { in lp_build_pack2() 625 if (util_get_cpu_caps()->has_sse2) { in lp_build_pack2() 627 } else if (util_get_cpu_caps()->has_altivec) { in lp_build_pack2() [all …]
|
D | lp_bld_logic.c | 199 util_get_cpu_caps()->has_sse2 && in lp_build_compare() 351 else if (((util_get_cpu_caps()->has_sse4_1 && in lp_build_select() 353 (util_get_cpu_caps()->has_avx && in lp_build_select() 355 (util_get_cpu_caps()->has_avx2 && in lp_build_select() 382 assert(util_get_cpu_caps()->has_avx2); in lp_build_select()
|
D | lp_bld_conv.c | 112 if (util_get_cpu_caps()->has_f16c && in lp_build_half_to_float() 180 if (util_get_cpu_caps()->has_f16c && in lp_build_float_to_half() 503 (util_get_cpu_caps()->has_sse2 || util_get_cpu_caps()->has_altivec)) in lp_build_conv_auto() 514 util_get_cpu_caps()->has_avx) in lp_build_conv_auto() 611 (util_get_cpu_caps()->has_sse2 || util_get_cpu_caps()->has_altivec)) in lp_build_conv() 724 util_get_cpu_caps()->has_avx) { in lp_build_conv()
|
D | lp_bld_limits.h | 92 return util_get_cpu_caps()->has_f16c; in lp_has_fp16()
|
D | lp_bld_gather.c | 491 } else if (util_get_cpu_caps()->has_avx2 && !need_expansion && in lp_build_gather() 503 } else if (0 && util_get_cpu_caps()->has_avx2 && !need_expansion && in lp_build_gather()
|
D | lp_bld_format_yuv.c | 93 if (util_get_cpu_caps()->has_sse2 && n > 1) { in uyvy_to_yuv_soa() 177 if (util_get_cpu_caps()->has_sse2 && n > 1) { in yuyv_to_yuv_soa()
|
/third_party/mesa3d/src/gallium/drivers/swr/ |
D | swr_loader.cpp | 94 if (util_get_cpu_caps()->has_avx512f && util_get_cpu_caps()->has_avx512er) { in swr_create_screen() 106 if (util_get_cpu_caps()->has_avx512f && util_get_cpu_caps()->has_avx512bw) { in swr_create_screen() 116 if (util_get_cpu_caps()->has_avx2) { in swr_create_screen() 126 if (util_get_cpu_caps()->has_avx) { in swr_create_screen()
|
/third_party/mesa3d/src/util/ |
D | half_float.h | 62 if (util_get_cpu_caps()->has_f16c) { in _mesa_float_to_half() 78 if (util_get_cpu_caps()->has_f16c) { in _mesa_half_to_float() 93 if (util_get_cpu_caps()->has_f16c) { in _mesa_float_to_float16_rtz()
|
D | u_math.c | 81 if (util_get_cpu_caps()->has_sse) { in util_fpstate_get() 99 if (util_get_cpu_caps()->has_sse) { in util_fpstate_set_denorms_to_zero() 102 if (util_get_cpu_caps()->has_daz) { in util_fpstate_set_denorms_to_zero() 121 if (util_get_cpu_caps()->has_sse) { in util_fpstate_set()
|
D | u_cpu_detect.h | 128 util_get_cpu_caps(void) in util_get_cpu_caps() function
|
/third_party/mesa3d/src/gallium/tests/unit/ |
D | u_half_test.c | 43 if (util_get_cpu_caps()->has_f16c) { in main() 44 ((struct util_cpu_caps_t *)util_get_cpu_caps())->has_f16c = false; in main()
|
D | translate_test.c | 91 if(!util_get_cpu_caps()->has_sse || !rtasm_cpu_has_sse()) in main() 103 if(!util_get_cpu_caps()->has_sse2 || !rtasm_cpu_has_sse()) in main() 114 if(!util_get_cpu_caps()->has_sse3 || !rtasm_cpu_has_sse()) in main() 124 if(!util_get_cpu_caps()->has_sse4_1 || !rtasm_cpu_has_sse()) in main()
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread.c | 219 if (util_get_cpu_caps()->num_L3_caches > 1 && in _mesa_glthread_flush_batch() 226 uint16_t L3_cache = util_get_cpu_caps()->cpu_to_L3[cpu]; in _mesa_glthread_flush_batch() 229 util_get_cpu_caps()->L3_affinity_mask[L3_cache], in _mesa_glthread_flush_batch() 230 NULL, util_get_cpu_caps()->num_cpu_mask_bits); in _mesa_glthread_flush_batch()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_tiling.h | 93 if (util_get_cpu_caps()->has_neon) { in vc4_load_lt_image() 109 if (util_get_cpu_caps()->has_neon) { in vc4_store_lt_image()
|
/third_party/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_cpu.c | 41 return util_get_cpu_caps(); in get_cpu_caps()
|
D | rtasm_x86sse.c | 2155 if(util_get_cpu_caps()->has_mmx) in x86_init_func_common() 2157 if(util_get_cpu_caps()->has_mmx2) in x86_init_func_common() 2159 if(util_get_cpu_caps()->has_sse) in x86_init_func_common() 2161 if(util_get_cpu_caps()->has_sse2) in x86_init_func_common() 2163 if(util_get_cpu_caps()->has_sse3) in x86_init_func_common() 2165 if(util_get_cpu_caps()->has_sse4_1) in x86_init_func_common()
|
/third_party/mesa3d/src/util/format/ |
D | u_format_unpack_neon.c | 66 if (!util_get_cpu_caps()->has_neon) in util_format_unpack_description_neon()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_arit.c | 406 if (util_get_cpu_caps()->has_sse) { in flush_denorm_to_zero() 482 if (!util_get_cpu_caps()->has_neon && in test_unary()
|
D | lp_screen.c | 895 const struct util_cpu_caps_t *cpu_caps = util_get_cpu_caps(); in update_cache_sha1_cpu() 1050 screen->num_threads = util_get_cpu_caps()->nr_cpus > 1 ? util_get_cpu_caps()->nr_cpus : 0; in llvmpipe_create_screen()
|
D | lp_texture.c | 94 unsigned mip_align = MAX2(64, util_get_cpu_caps()->cacheline); in llvmpipe_texture_layout() 132 lpr->row_stride[level] = align(nblocksx * block_size, util_get_cpu_caps()->cacheline); in llvmpipe_texture_layout()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_winsys.c | 334 util_get_cpu_caps()->L3_affinity_mask[cache], in amdgpu_pin_threads_to_L3_cache() 335 NULL, util_get_cpu_caps()->num_cpu_mask_bits); in amdgpu_pin_threads_to_L3_cache()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.c | 813 util_get_cpu_caps()->L3_affinity_mask[cache], in radeon_pin_threads_to_L3_cache() 814 NULL, util_get_cpu_caps()->num_cpu_mask_bits); in radeon_pin_threads_to_L3_cache()
|