Skip to content
Commit 91671ec1 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Dylan Baker
Browse files

gallivm: disable NEON instructions if they are not supported



The LLVM project made some questionable decisions about defaults for
armv7 (e.g. they enable NEON that is not there on NVIDIA and Marvell
platforms).

On top of that, getHostCPUFeatures() doesn't disable missing machine
attributes. Finally, -neon alone is not sufficient to disable emmision
of NEON instructions.

Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
(cherry picked from commit e983a975)
parent b5090681
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment