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

Earlyclobber inline asm input registers #210

Open
Prabhuk opened this issue Apr 19, 2023 · 0 comments
Open

Earlyclobber inline asm input registers #210

Prabhuk opened this issue Apr 19, 2023 · 0 comments

Comments

@Prabhuk
Copy link
Contributor

Prabhuk commented Apr 19, 2023

asm_arm.inc inline assembly functions such as uECC_vli_add has output registers written to before the input registers are fully consumed. The inline assembly constraints for those registers are underspecified and must include earlyclobber constraint "&".

Compiling with GCC for cortex-M4 does not create any problems even though the constraints are currently underspecified but could potentially break the code in the future.

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

No branches or pull requests

1 participant