util: add support for detecting avx512 vector bit size
authorYonggang Luo <luoyonggang@gmail.com>
Tue, 30 Aug 2022 06:57:26 +0000 (14:57 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 01:51:42 +0000 (01:51 +0000)
commit0244b1858fbb25f9230c11ac0aba671bc859d467
tree95d6a189b6581a96885f4edacb71eced46f2aab5
parentd240fb150fcaff3fb62a0b8c2746bbe9f8301ae9
util: add support for detecting avx512 vector bit size

Default to 256 until we're confident llvmpipe with 512 is
as correct and not slower than 256

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17813>
src/gallium/auxiliary/gallivm/lp_bld_init.c
src/util/u_cpu_detect.c