crypto/x86_64cpuid.pl: move extended feature detection upwards.
authorAndy Polyakov <appro@openssl.org>
Sun, 5 Mar 2017 19:38:36 +0000 (20:38 +0100)
committerAndy Polyakov <appro@openssl.org>
Tue, 7 Mar 2017 10:19:20 +0000 (11:19 +0100)
commitc6e4fdbf8b44010ba12b72d519e437bbd2da71e6
tree40d47f58b30dcef14e54eb7fbad46d91f908d812
parentbf1c92faf6d3adba62165432164f5732da3d99c9
crypto/x86_64cpuid.pl: move extended feature detection upwards.

Exteneded feature flags were not pulled on AMD processors, as result a
number of extensions were effectively masked on Ryzen. It should have
been reported for Excavator since it implements AVX2 extension, but
apparently nobody noticed or cared...

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit f8418d87e191e46b81e1b9548326ab2876fa0907)
crypto/x86_64cpuid.pl