gallivm: guess CPU features also on ARM
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 11 Mar 2019 18:16:40 +0000 (19:16 +0100)
committerMatt Turner <mattst88@gmail.com>
Mon, 22 Apr 2019 16:47:39 +0000 (09:47 -0700)
commitbc6bfc861fd3484c4cc51f24ccb0bf64239fcfd7
treebf028c5c571d2dcbbd737b637e4716acf2e39509
parent36478b9f772e474a52af33f9545c8a681ae12690
gallivm: guess CPU features also on ARM

getHostCPUFeatures() is also available on ARM, for even longer time than
for x86. Use it -- it potentially enables instructions that may speed
things up.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: <mesa-stable@lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/518
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp