mesa: Permanently enable features supported by target CPU at compile time.
authorSiavash Eliasi <siavashserver@gmail.com>
Sat, 8 Nov 2014 08:35:05 +0000 (12:05 +0330)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 26 Nov 2014 20:08:38 +0000 (20:08 +0000)
commit8dc8c496e1de4415d9595c53735c213b4e91c135
tree7aa72b27243691d805543b4f5d01af6a93dad56d
parent752c2e9690cf4c4b087d66241ae60316558fca22
mesa: Permanently enable features supported by target CPU at compile time.

This will remove the need for unnecessary runtime checks for CPU features if
already supported by target CPU, resulting in smaller and less branchy code.

V2:
- Removed the SSSE3 related part for the not yet merged patch.
- Avoiding redefinition of macros.

Tested-by: David Heidelberg <david@ixit.cz>
src/mesa/x86/common_x86_features.h