util: Move the detect of max_vector_bits into u_cpu_detect.c
authorYonggang Luo <luoyonggang@gmail.com>
Sat, 27 Aug 2022 09:11:35 +0000 (17:11 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 01:51:42 +0000 (01:51 +0000)
commitd240fb150fcaff3fb62a0b8c2746bbe9f8301ae9
tree36c88e0c3eebf415b2ba12cb5b95fda476be3b1d
parent33b29ecdc9154f72a4af64e6dd036fcb01501f1b
util: Move the detect of max_vector_bits into u_cpu_detect.c

has_avx2 implies has_avx, so have no need check then both

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
src/util/u_cpu_detect.h