Skip to content

LoongArch perlasm cleanups #28191

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

xen0n
Copy link

@xen0n xen0n commented Aug 7, 2025

Here are some general refactoring on the LoongArch perlasm scripts, in preparation of future optimization.

Checklist

Not applicable; only clean-ups without functional change.

xen0n added 4 commits August 7, 2025 16:46
No functional change.

Signed-off-by: WANG Xuerui <git@xen0n.name>
ABI names (e.g. "$t0" instead of "$r12") on LoongArch are always
supported by mainline binutils and LLVM IAS, so use them for better
readability. No functional change.

Signed-off-by: WANG Xuerui <git@xen0n.name>
De-duplicate the rounds to make the code shorter. No functional change.

Signed-off-by: WANG Xuerui <git@xen0n.name>
To make the emitted assembly easier to read. No functional change.

Signed-off-by: WANG Xuerui <git@xen0n.name>
@xen0n
Copy link
Author

xen0n commented Aug 7, 2025

cc @xry111 @HeliC829 @zhoumin2 for review.

@github-actions github-actions bot added the severity: fips change The pull request changes FIPS provider sources label Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: fips change The pull request changes FIPS provider sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant