Add CMake config to install headers, libraries, and binaries#2
Merged
Conversation
andrew-kaufman
approved these changes
Jun 3, 2020
dkostic
pushed a commit
to dkostic/aws-lc
that referenced
this pull request
Dec 5, 2024
This allows for more general shifted operands where applicable, e.g. "add x0, x1, x2, lsr aws#2" or "and x4, x5, x6, asr aws#63". At the shallow embedding level we add the construct "Shiftedreg", and the decoder maps appropriate instructions to it. This commit also fixes a few trivial errors and eliminates some lemmas duplicating those in the HOL Light standard library.
kingstjo
added a commit
to kingstjo/aws-lc
that referenced
this pull request
Apr 18, 2025
Test aws#2 EC2 Self hosted runner
R3hankhan123
pushed a commit
to R3hankhan123/aws-lc
that referenced
this pull request
Aug 29, 2025
R3hankhan123
pushed a commit
to R3hankhan123/aws-lc
that referenced
this pull request
Aug 29, 2025
jakemas
pushed a commit
that referenced
this pull request
Jan 15, 2026
* Adding CODEOWNERS * Adding AWS-LC repo as submodule.
justsmth
added a commit
that referenced
this pull request
Feb 24, 2026
…3029) ### Issues: Addresses #3028 ### Description of changes: When GCC 15 compiles the FIPS module at `-O3` on aarch64, it emits `fmov` instructions with floating-point immediates (e.g. `fmov v8.4s, #2.0e+0`). The delocator's PEG grammar only supports integer immediates, so it parses `#2.0e+0` as the integer `#2` followed by what it thinks is a symbol reference `.0e`. This gets turned into a redirector (`.Lbcm_redirector_.0e`), producing invalid assembly. This change fixes the issue in two ways: - **Grammar fix**: Adds a floating-point immediate alternative to the `RegisterOrConstant` rule in `delocate.peg`, so values like `#2.0e+0` are parsed as a single token. - **Pass-through**: Adds `fmov` to the special-case instruction list in `processAarch64Instruction()`. Since `fmov` only operates on registers and immediates (never memory), it never needs delocating and can safely be written through unchanged. The GCC 15 + FIPS exclusion in `arm-gcc-tests` CI is also removed now that the underlying issue is resolved. ### Call-outs: The `delocate.peg.go` file is regenerated from the grammar using the `peg` tool. The grammar change is the one line in `delocate.peg`; the rest of that file is mechanical. ### Testing: - Added 6 test cases to `testdata/aarch64-Basic/in.s` covering float immediates with exponent notation, simple decimals, negative values, fractional values, scalar forms, and register-to-register `fmov`. - All 19 existing delocator tests continue to pass. - Re-enabled the `arm-gcc-tests` CI matrix entry for GCC 15 + FIPS on arm64 which will validate the end-to-end build. 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.
justsmth
added a commit
that referenced
this pull request
May 15, 2026
…immediates on aarch64 (#3255) When GCC 15 compiles the FIPS module at `-O3` on aarch64, it emits `fmov` instructions with floating-point immediates (e.g. `fmov v8.4s, so it parses `#2.0e+0` as the integer `#2` followed by what it thinks is a symbol reference `.0e`. This gets turned into a redirector (`.Lbcm_redirector_.0e`), producing invalid assembly. This change fixes the issue in two ways: - **Grammar fix**: Adds a floating-point immediate alternative to the `RegisterOrConstant` rule in `delocate.peg`, so values like `#2.0e+0` are parsed as a single token. - **Pass-through**: Adds `fmov` to the special-case instruction list in `processAarch64Instruction()`. Since `fmov` only operates on registers and immediates (never memory), it never needs delocating and can safely be written through unchanged. The GCC 15 + FIPS exclusion in `arm-gcc-tests` CI is also removed now that the underlying issue is resolved. The `delocate.peg.go` file is regenerated from the grammar using the `peg` tool. The grammar change is the one line in `delocate.peg`; the rest of that file is mechanical. - Added 6 test cases to `testdata/aarch64-Basic/in.s` covering float immediates with exponent notation, simple decimals, negative values, fractional values, scalar forms, and register-to-register `fmov`. - All 19 existing delocator tests continue to pass. - Re-enabled the `arm-gcc-tests` CI matrix entry for GCC 15 + FIPS on arm64 which will validate the end-to-end build. 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. (cherry picked from commit 7b2a86c) Co-authored-by: Justin W Smith <103147162+justsmth@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
N/A
Description of changes:
This adds config to install AWS-LC in a common way. A follow up change could add the CMake targets to help consumers who use CMake FindPackage.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.