Armv8.1-M: Add CFI directives for stack unwinding #1558
Open
mkannwischer wants to merge 2 commits intomainfrom
Open
Armv8.1-M: Add CFI directives for stack unwinding #1558mkannwischer wants to merge 2 commits intomainfrom
mkannwischer wants to merge 2 commits intomainfrom
Conversation
Neither r3 nor r12 is callee-saved according to AAPCS. Signed-off-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
Extend scripts/cfify with Armv8.1-M architecture support, handling push/pop, vpush/vpop, sub/add sp, and bx lr. Enable cfify for armv81m in scripts/autogen. - Resolves #1517 Signed-off-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
Contributor
CBMC Results (ML-KEM-512)Full Results (151 proofs)
|
Contributor
CBMC Results (ML-KEM-768)Full Results (151 proofs)
|
Contributor
CBMC Results (ML-KEM-1024)Full Results (151 proofs)
|
mkannwischer
added a commit
to pq-code-package/mldsa-native
that referenced
this pull request
Feb 11, 2026
Extend scripts/cfify with Armv8.1-M architecture support, handling push/pop, vpush/vpop, sub/add sp, and bx lr. Enable cfify for armv81m in scripts/autogen. Also removes pushing/poping r3 and r12 in keccak_f1600_x4_mve_asm - they do not have to be preserved according ot the AAPCS. - Ports pq-code-package/mlkem-native#1558 Signed-off-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
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.
Extend scripts/cfify with Armv8.1-M architecture support, handling
push/pop, vpush/vpop, sub/add sp, and bx lr.
Enable cfify for armv81m in scripts/autogen.
cfifyfor the Armv8.1-M backend #1517