Skip to content

Stabilize runtime detection of VEX variants of avx512 #1760

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

Merged
merged 1 commit into from
May 17, 2025

Conversation

sayantn
Copy link
Contributor

@sayantn sayantn commented Mar 25, 2025

This PR stabilizes the runtime detection of the following target features

  • avxvnni
  • avxifma
  • avxvnniint8
  • avxvnniint16
  • avxneconvert

@rustbot
Copy link
Collaborator

rustbot commented Mar 25, 2025

r? @Amanieu

rustbot has assigned @Amanieu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@sayantn sayantn force-pushed the vex-change-temporary branch 2 times, most recently from 3e219eb to f0e1f9a Compare March 25, 2025 22:31
@sayantn sayantn marked this pull request as ready for review April 16, 2025 22:06
@sayantn sayantn force-pushed the vex-change-temporary branch from f0e1f9a to 9b7775a Compare April 29, 2025 14:38
@sayantn sayantn force-pushed the vex-change-temporary branch from 9b7775a to 9adc113 Compare May 4, 2025 19:41
Comment on lines -206 to +214
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxifma: "avxifma";
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxifma: "avxifma";
/// AVX-IFMA (Integer Fused Multiply Add)
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxneconvert: "avxneconvert";
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxneconvert: "avxneconvert";
/// AVX-NE-CONVERT (Exceptionless Convert)
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnni: "avxvnni";
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnni: "avxvnni";
/// AVX-VNNI (Vector Neural Network Instructions)
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnniint16: "avxvnniint16";
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnniint16: "avxvnniint16";
/// AVX-VNNI_INT8 (VNNI with 16-bit Integers)
@FEATURE: #[unstable(feature = "x86_amx_intrinsics", issue = "44839")] avxvnniint8: "avxvnniint8";
@FEATURE: #[stable(feature = "avx512_target_feature", since = "1.88.0")] avxvnniint8: "avxvnniint8";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's going to make Rust 1.89 rather than Rust 1.88 at this point.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I will correct it tonight. CURRENT_RUSTC_VERSION not working inside submodules is mildly infuriating sometimes 😅

@Amanieu Amanieu added this pull request to the merge queue May 17, 2025
@sayantn
Copy link
Contributor Author

sayantn commented May 17, 2025

@Amanieu wait, the versions need to be updated as @traviscross pointed out

Merged via the queue into rust-lang:master with commit abe559d May 17, 2025
60 checks passed
@sayantn
Copy link
Contributor Author

sayantn commented May 17, 2025

Ok lol nvm, I will send another PR to update that

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.

4 participants