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

Make assembly compatible with clang #720

Merged
merged 2 commits into from
Apr 1, 2022
Merged

Make assembly compatible with clang #720

merged 2 commits into from
Apr 1, 2022

Conversation

Tombana
Copy link
Collaborator

@Tombana Tombana commented Apr 1, 2022

What do these changes do?

The syntax used in the inline assembly of the 32-bit ARM kernels was not compatible with the LLVM Integrated Assembler. A workaround was to use clang -fno-integrated-as but that makes things complex when crosscompiling and PATH is not setup correctly.

This PR uses the syntax that's also used in the ARM documentation; example.

How Has This Been Tested?

CI tests the correctness of this kernel.

LLVMs Integrated Assembler did not accept the original syntax
@Tombana Tombana requested a review from a team April 1, 2022 13:29
@Tombana
Copy link
Collaborator Author

Tombana commented Apr 1, 2022

This can be merged after #721 is merged.

@Tombana Tombana added the internal-improvement Internal Improvements and Maintenance label Apr 1, 2022
@Tombana Tombana enabled auto-merge (squash) April 1, 2022 14:19
@Tombana Tombana merged commit 7ff6508 into main Apr 1, 2022
@Tombana Tombana deleted the arm32_asm_syntax branch April 1, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-improvement Internal Improvements and Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants