Skip to content

Document z register aliases on AArch64 - #2426

Merged
traviscross merged 1 commit into
masterfrom
TC/document-aarch64-z-aliases
Nov 24, 2026
Merged

traviscross merged 1 commit into
masterfrom
TC/document-aarch64-z-aliases

Conversation

@traviscross

Copy link
Copy Markdown
Contributor

On AArch64, we've accepted z0, z1, etc. as names for the v registers since inline assembly was stabilized in Rust 1.59. We've accepted these for Arm64EC since it was stabilized in Rust 1.84.

But our table of register aliases doesn't list these aliases. Let's add them.

(We added these aliases in rust-lang/rust#86416.)

On AArch64, we've accepted `z0`, `z1`, etc. as names for the `v`
registers since inline assembly was stabilized in Rust 1.59.  We've
accepted these for Arm64EC since it was stabilized in Rust 1.84.

But our table of register aliases doesn't list these aliases.  Let's
add them.

(We added these aliases in rust-lang/rust#86416.)
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Nov 24, 2026
@traviscross

Copy link
Copy Markdown
Contributor Author

@Amanieu, @taiki-e: Is this correct?

And what are your thoughts on Arm64EC? Did we mean to stabilize these z aliases on it?

@traviscross

Copy link
Copy Markdown
Contributor Author

For the original Reference PR for the inline assembly stabilization, see:

@Amanieu

Amanieu commented Nov 24, 2026

Copy link
Copy Markdown
Member

There's no harm in being able to name the z register in inline asm on arm64ec. It's fine to keep this as-is.

@traviscross

Copy link
Copy Markdown
Contributor Author

Thanks. Good enough for me.

@traviscross traviscross removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Nov 24, 2026
Merged via the queue into master with commit 3b6b2a7 Nov 24, 2026
8 checks passed
@traviscross
traviscross deleted the TC/document-aarch64-z-aliases branch November 28, 2026 00:20
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

Successfully merging this pull request may close these issues.

3 participants