Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve gcc-4.8 support/testing #1665

Merged
merged 6 commits into from
Jul 8, 2024
Merged

Conversation

justsmth
Copy link
Contributor

@justsmth justsmth commented Jun 25, 2024

Description of changes:

  • Pre-generated assembly was not usable with certain older compilers/assemblers such as gcc-4.8.
    • This change injects preprocessor macros to guard the portions of ADX/AVX2/AVX-512 assembly that would break GCC-4.8, allowing GCC-4.8 to now use the pre-generated assembly.

Call-out

  • The pre-generated assembly is still not usable on the oldest supported compilers (e.g., gcc-4.1)

Testing:

  • Added tests that build using the pregenerated assembly code.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@codecov-commenter
Copy link

codecov-commenter commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.20%. Comparing base (bf992e7) to head (6edceb9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1665   +/-   ##
=======================================
  Coverage   78.19%   78.20%           
=======================================
  Files         571      571           
  Lines       95458    95459    +1     
  Branches    13705    13704    -1     
=======================================
+ Hits        74642    74651    +9     
+ Misses      20204    20199    -5     
+ Partials      612      609    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justsmth justsmth force-pushed the improve-legacy-testing branch 2 times, most recently from 3f3042c to 9d4d510 Compare June 26, 2024 12:30
@justsmth justsmth changed the title [DRAFT] Improve legacy testing [DRAFT] Improve gcc-4.8 support/testing Jun 26, 2024
@justsmth justsmth force-pushed the improve-legacy-testing branch 8 times, most recently from 4c3b275 to 34ae194 Compare June 26, 2024 16:21
@justsmth justsmth changed the title [DRAFT] Improve gcc-4.8 support/testing Improve gcc-4.8 support/testing Jun 26, 2024
@justsmth justsmth marked this pull request as ready for review June 26, 2024 16:32
@justsmth justsmth requested a review from a team as a code owner June 26, 2024 16:32
@justsmth justsmth requested a review from dkostic June 26, 2024 16:32
@justsmth justsmth requested a review from nebeid June 28, 2024 16:28
@justsmth justsmth force-pushed the improve-legacy-testing branch 2 times, most recently from e805c52 to 3c3f957 Compare July 3, 2024 13:55
@justsmth justsmth merged commit d4373f9 into aws:main Jul 8, 2024
99 of 100 checks passed
@justsmth justsmth deleted the improve-legacy-testing branch July 8, 2024 16:25
justsmth added a commit that referenced this pull request Jul 12, 2024
### Issues:
* Addresses: CryptoAlg-2220

### Previous Work:
This change re-introduces changes from the following PRs:
* #1628

Due to build failures with certain environments using gcc-4.8, the above
was reverted:
* #1656

The build failures were addressed in the following PR:
* #1665

### Description of changes: 
Upstream commits: 
*
google/boringssl@9fc1c33
*
google/boringssl@51ed32f


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and the ISC license.

---------

Co-authored-by: Bob Beck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants