Add darwin64-arm64-cc build target for OpenSSL 1.1.1#13476
Add darwin64-arm64-cc build target for OpenSSL 1.1.1#13476felixbuenemann wants to merge 2 commits intoopenssl:OpenSSL_1_1_1-stablefrom
Conversation
Benchmark ResultsBenchmarks were done on an Apple MacBook Air (2020, M1) with 16GB RAM on macOS 11.1 Beta (20C5048l). Before Patch After Patch |
98cec34 to
53bdb4e
Compare
|
Updated to split the |
This adds support for the Apple Silicon M1 hardware on macOS Big Sur. CLA: trivial
CLA: trivial
53bdb4e to
105be6e
Compare
|
@felixbuenemann Is this PR not almost identical to #12369? The only difference is that this one updates the changelog. That PR has already been discussed, and is "approved: ready to merge", but held from merging because OpenSSL 1.1 is in "bugfix only" mode and the maintainers believe that it is a stretch to call darwin-arm64 support a "bugfix". The OMC is currently discussing whether to create a new LTS+ release in parallel to the LTS release that can add support for new platforms. |
|
Added the OMC hold label as per the comment above. Probably though this should be closed in favour of the pre-existing #12369. |
|
Yes, #12369 is fine, this can be closed as a dupe. Isn't fixing ASM support on Darwin arm64 a bugfix? This doesn't add any new code to support it. |
|
So to elaborate on the current situation:
|
|
Duplicate of #12369 |
|
@felixbuenemann Do you want to close this PR and post your elaboration comment in the main PR? |
|
@felixbuenemann, I wonder why Apple's OpenSSL doesn't see these speed-ups even though it's compiled natively? i.e |
@johnalanwoods Not much to wonder, since libressl 2.8.3 has zero armv8 assembly code: Note that You will get better speeds with |
This adds support for the Apple Silicon M1 hardware to OpenSSL 1.1.1 on macOS Big Sur and enables aarch64 assembly.
The changes have been adapted from master and were verified using an Apple MacBook Air (2020, M1) running macOS 11.1 Beta (20C5048l) and have been compiled with Xcode 12.3 beta (12C5020f).
The test suite passes and benchmarks show the expected speed-ups.
Related #12591 Fixes #12254 Duplicate of #12369