Skip to content

AArch64:: Use 3 mov instructions to implement register swaps#9655

Closed
david-arm wants to merge 1 commit intofacebook:masterfrom
david-arm:swap_regs
Closed

AArch64:: Use 3 mov instructions to implement register swaps#9655
david-arm wants to merge 1 commit intofacebook:masterfrom
david-arm:swap_regs

Conversation

@david-arm
Copy link
Copy Markdown
Contributor

According to the software optimisation guide mov instructions between GPRs may be zero latency, which is even cheaper than using 3 eors.

According to the software optimisation guide mov
instructions between GPRs may be zero latency, which
is even cheaper than using 3 eors.
@meta-cla meta-cla bot added the CLA Signed label Nov 4, 2025
@david-arm david-arm changed the title Aarch64:: Use 3 mov instructions to implement register swaps AArch64:: Use 3 mov instructions to implement register swaps Nov 4, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Nov 4, 2025

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D86202186. (Because this pull request was imported automatically, there will not be any future comments.)

@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Jan 13, 2026

@meteorfox merged this pull request in f1d3c11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants