-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trim some redundant Arm feature detection files
cpu_arm_openbsd.c is the same as OPENSSL_STATIC_ARMCAP. cpu_aarch64_freebsd.c is the same as cpu_aarch64_sysreg.c. (The FreeBSD one was using the macros in their headers, but those macros expand to the same inline assembly.) Also send ANDROID_BAREMETAL + 32-bit Arm to OPENSSL_STATIC_ARMCAP. This way we can remove OPENSSL_STATIC_ARMCAP from the Android baremetal build without having to chase down constraining it to aarch64. See b/291106677#comment6 Update-Note: This is a slight change to the OpenBSD build. Previously, we assumed OpenBSD on 32-bit Arm implies NEON. Now, we pick it up from the __ARM_NEON define from ACLE, i.e. whether the compiler has been told that NEON is available. (This comes from -march or other options.) Doing that is desirable anyway: if NEON is in your baseline, you should tell your compiler so it can vectorize loops. Change-Id: Icd43a2b56bb6e3f04f0fed996ae750fba65e3312 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/62066 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Bob Beck <bbe@google.com> (cherry picked from commit d95b03c315bac8c44d3ce062053d3a5817915d91)
- Loading branch information
Showing
5 changed files
with
13 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters