Skip to content

cpufeatures: add support for avx10.1 and avx10.2 - #1531

Open
MuntasirSZN wants to merge 1 commit into
RustCrypto:masterfrom
MuntasirSZN:avx
Open

cpufeatures: add support for avx10.1 and avx10.2#1531
MuntasirSZN wants to merge 1 commit into
RustCrypto:masterfrom
MuntasirSZN:avx

Conversation

@MuntasirSZN

Copy link
Copy Markdown

No description provided.

@newpavlov

newpavlov commented Sep 9, 2026

Copy link
Copy Markdown
Member

We generally try to follow language naming of target features and I don't see any intrinsics for the added features except avx10.2.

@MuntasirSZN

MuntasirSZN commented Sep 9, 2026

Copy link
Copy Markdown
Author

We generally try to follow language naming of target features and I don't see any intrinsics for the added features except avx10.2.

For target_features:

avx10.1: https://doc.rust-lang.org/stable/nightly-rustc/src/rustc_target/target_features.rs.html#425
avx10.2: https://doc.rust-lang.org/stable/nightly-rustc/src/rustc_target/target_features.rs.html#444

For intrinsics:

avx10.1 is a cleanup isa. See: rust-lang/rust#138843 so there isnt avx10.1 specific intrinsics (Should be removed? direct avx512* target_feature?)
avx10.2: rust-lang/stdarch#2045 (still work in progress, but target_features is done.

evex512 is LLVM specific, going to remove (if avx512 is available, evex512 is also available) and for avx10.1-512, again LLVM specific (sorry) avx10.1 = avx10.1-512.

@newpavlov

@MuntasirSZN

Copy link
Copy Markdown
Author

Nope avx10.1 is sill needed.... Otherwise +avx10.1 would basically not work.

@MuntasirSZN MuntasirSZN changed the title cpufeatures: add support for avx10.1, avx10.2, avx10.1-512 and evex512 cpufeatures: add support for avx10.1 and avx10.2 Sep 9, 2026
@MuntasirSZN

MuntasirSZN commented Sep 9, 2026

Copy link
Copy Markdown
Author

Done! @newpavlov

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.

2 participants