/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_misc.cpp | 406 MAttrs.push_back(util_get_cpu_caps()->has_sse ? "+sse" : "-sse" ); in lp_build_create_jit_compiler_for_module() 407 MAttrs.push_back(util_get_cpu_caps()->has_sse2 ? "+sse2" : "-sse2" ); in lp_build_create_jit_compiler_for_module() 408 MAttrs.push_back(util_get_cpu_caps()->has_sse3 ? "+sse3" : "-sse3" ); in lp_build_create_jit_compiler_for_module() 409 MAttrs.push_back(util_get_cpu_caps()->has_ssse3 ? "+ssse3" : "-ssse3" ); in lp_build_create_jit_compiler_for_module() 410 MAttrs.push_back(util_get_cpu_caps()->has_sse4_1 ? "+sse4.1" : "-sse4.1"); in lp_build_create_jit_compiler_for_module() 411 MAttrs.push_back(util_get_cpu_caps()->has_sse4_2 ? "+sse4.2" : "-sse4.2"); in lp_build_create_jit_compiler_for_module() 418 MAttrs.push_back(util_get_cpu_caps()->has_avx ? "+avx" : "-avx"); in lp_build_create_jit_compiler_for_module() 419 MAttrs.push_back(util_get_cpu_caps()->has_f16c ? "+f16c" : "-f16c"); in lp_build_create_jit_compiler_for_module() 420 MAttrs.push_back(util_get_cpu_caps()->has_fma ? "+fma" : "-fma"); in lp_build_create_jit_compiler_for_module() 421 MAttrs.push_back(util_get_cpu_caps()->has_avx2 ? "+avx2" : "-avx2"); in lp_build_create_jit_compiler_for_module() [all …]
|
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_init.c | 459 if (util_get_cpu_caps()->has_avx2 || util_get_cpu_caps()->has_avx) { in lp_build_init() 480 util_get_cpu_caps()->has_avx = 0; in lp_build_init() 481 util_get_cpu_caps()->has_avx2 = 0; in lp_build_init() 482 util_get_cpu_caps()->has_f16c = 0; in lp_build_init() 483 util_get_cpu_caps()->has_fma = 0; in lp_build_init() 496 if (util_get_cpu_caps()->has_altivec) { in lp_build_init()
|
D | lp_bld_logic.c | 199 util_get_cpu_caps()->has_sse2 && in lp_build_compare() 353 else if (((util_get_cpu_caps()->has_sse4_1 && in lp_build_select() 355 (util_get_cpu_caps()->has_avx && in lp_build_select() 357 (util_get_cpu_caps()->has_avx2 && in lp_build_select() 385 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 | 490 } else if (util_get_cpu_caps()->has_avx2 && !need_expansion && in lp_build_gather() 502 } 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/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 | 140 util_get_cpu_caps(void) in util_get_cpu_caps() function
|
/third_party/mesa3d/src/gallium/tests/unit/ |
D | u_half_test.c | 42 if (util_get_cpu_caps()->has_f16c) { in main() 43 ((struct util_cpu_caps_t *)util_get_cpu_caps())->has_f16c = false; in main()
|
D | translate_test.c | 89 if(!util_get_cpu_caps()->has_sse || !rtasm_cpu_has_sse()) in main() 101 if(!util_get_cpu_caps()->has_sse2 || !rtasm_cpu_has_sse()) in main() 112 if(!util_get_cpu_caps()->has_sse3 || !rtasm_cpu_has_sse()) in main() 122 if(!util_get_cpu_caps()->has_sse4_1 || !rtasm_cpu_has_sse()) in main()
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread.c | 206 if (util_get_cpu_caps()->num_L3_caches > 1 && in _mesa_glthread_flush_batch() 213 uint16_t L3_cache = util_get_cpu_caps()->cpu_to_L3[cpu]; in _mesa_glthread_flush_batch() 216 util_get_cpu_caps()->L3_affinity_mask[L3_cache], in _mesa_glthread_flush_batch() 217 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/drivers/llvmpipe/ |
D | lp_test_arit.c | 402 if (util_get_cpu_caps()->has_sse) { in flush_denorm_to_zero() 481 if (!util_get_cpu_caps()->has_neon && in test_unary() 482 util_get_cpu_caps()->family != CPU_S390X && in test_unary()
|
D | lp_screen.c | 921 const struct util_cpu_caps_t *cpu_caps = util_get_cpu_caps(); in update_cache_sha1_cpu() 1077 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 | 93 unsigned mip_align = MAX2(64, util_get_cpu_caps()->cacheline); in llvmpipe_texture_layout() 131 lpr->row_stride[level] = align(nblocksx * block_size, util_get_cpu_caps()->cacheline); in llvmpipe_texture_layout()
|
/third_party/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_cpu.c | 40 return util_get_cpu_caps(); in get_cpu_caps()
|
D | rtasm_x86sse.c | 2163 if(util_get_cpu_caps()->has_mmx) in x86_init_func_common() 2165 if(util_get_cpu_caps()->has_mmx2) in x86_init_func_common() 2167 if(util_get_cpu_caps()->has_sse) in x86_init_func_common() 2169 if(util_get_cpu_caps()->has_sse2) in x86_init_func_common() 2171 if(util_get_cpu_caps()->has_sse3) in x86_init_func_common() 2173 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/winsys/amdgpu/drm/ |
D | amdgpu_winsys.c | 344 util_get_cpu_caps()->L3_affinity_mask[cache], in amdgpu_pin_threads_to_L3_cache() 345 NULL, util_get_cpu_caps()->num_cpu_mask_bits); in amdgpu_pin_threads_to_L3_cache()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom.c | 56 if (util_get_cpu_caps()->has_popcnt) in init_atoms_once()
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.c | 780 util_get_cpu_caps()->L3_affinity_mask[cache], in radeon_pin_threads_to_L3_cache() 781 NULL, util_get_cpu_caps()->num_cpu_mask_bits); in radeon_pin_threads_to_L3_cache()
|