Skip to content

Extend x86 inline asm to support ymm and zmm vector registers#1628

Merged
bjorn3 merged 1 commit intorust-lang:mainfrom
CathalMullan:graviola
Mar 1, 2026
Merged

Extend x86 inline asm to support ymm and zmm vector registers#1628
bjorn3 merged 1 commit intorust-lang:mainfrom
CathalMullan:graviola

Conversation

@CathalMullan
Copy link
Contributor

@CathalMullan CathalMullan commented Feb 28, 2026

Existing code only handled xmm registers, this adds support for ymm and zmm.

Resolves #1616

@bjorn3
Copy link
Member

bjorn3 commented Feb 28, 2026

Could you add a test exercising this new code to example/std_example.rs behind #[cfg(all(target_arch = "x86_64, not(jit)))]?

@bjorn3 bjorn3 merged commit e722ae6 into rust-lang:main Mar 1, 2026
24 checks passed
@bjorn3
Copy link
Member

bjorn3 commented Mar 1, 2026

Thanks!

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.

Inline assembly with ymm regs fails in external assembler

2 participants