[Bug 1674399] Re: OpenSSL CPU detection for AMD Ryzen CPUs
Eric Desrochers
eric.desrochers at canonical.com
Fri Apr 21 18:59:57 UTC 2017
** Description changed:
+ AMD added support in their processors for SHA Extensions starting with
+ Ryzen CPU. Current OpenSSL version in Ryzens still calls SHA for SSSE3
+ routine and shows no improvement.
+
It has been brought to my attention that :
"CPUID detection in OpenSSL does not properly detect potential optimizations for AMD processors."
After further verification on my side :
Extended feature flags were not pulled on AMD processors, as result a
number of extensions were effectively masked on Ryzen CPUs. It should
have been reported for Excavator since it implements AVX2 extension, but
apparently nobody noticed ...
The GitHub PR:
https://github.com/openssl/openssl/pull/2849
** Description changed:
AMD added support in their processors for SHA Extensions starting with
Ryzen CPU. Current OpenSSL version in Ryzens still calls SHA for SSSE3
- routine and shows no improvement.
+ routine as result a number of extensions were effectively masked on
+ Ryzen and shows no improvement.
It has been brought to my attention that :
"CPUID detection in OpenSSL does not properly detect potential optimizations for AMD processors."
After further verification on my side :
Extended feature flags were not pulled on AMD processors, as result a
number of extensions were effectively masked on Ryzen CPUs. It should
have been reported for Excavator since it implements AVX2 extension, but
apparently nobody noticed ...
The GitHub PR:
https://github.com/openssl/openssl/pull/2849
** Also affects: openssl (Ubuntu Artful)
Importance: Medium
Status: Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1674399
Title:
OpenSSL CPU detection for AMD Ryzen CPUs
Status in openssl package in Ubuntu:
Triaged
Status in openssl source package in Artful:
Triaged
Bug description:
AMD added support in their processors for SHA Extensions starting with
Ryzen CPU. Current OpenSSL version in Ryzens still calls SHA for SSSE3
routine as result a number of extensions were effectively masked on
Ryzen and shows no improvement.
It has been brought to my attention that :
"CPUID detection in OpenSSL does not properly detect potential optimizations for AMD processors."
After further verification on my side :
Extended feature flags were not pulled on AMD processors, as result a
number of extensions were effectively masked on Ryzen CPUs. It should
have been reported for Excavator since it implements AVX2 extension,
but apparently nobody noticed ...
The GitHub PR:
https://github.com/openssl/openssl/pull/2849
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1674399/+subscriptions
More information about the foundations-bugs
mailing list