Skip to content
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

Tracking Issue for XOP target feature #127208

Open
4 tasks
sayantn opened this issue Jul 1, 2024 · 2 comments
Open
4 tasks

Tracking Issue for XOP target feature #127208

sayantn opened this issue Jul 1, 2024 · 2 comments
Labels
A-simd Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. O-x86_32 Target: x86 processors, 32 bit (like i686-*) O-x86_64 Target: x86-64 processors (like x86_64-*)

Comments

@sayantn
Copy link
Contributor

sayantn commented Jul 1, 2024

The feature gate for this issue is #[feature(xop_target_feature)].

This tracks the integration of AMD's XOP instruction set into Rust.

Steps

  • Adding the xop target feature to Rustc and its runtime detection in stdarch
  • Implementing the associated intrinsics
  • Final Comment Period (FCP)
  • Stabilization PR

Public API

The xop target-feature and its associated intrinsics

Implementation History

@sayantn sayantn added the C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. label Jul 1, 2024
@rustbot rustbot added A-simd Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. O-x86_32 Target: x86 processors, 32 bit (like i686-*) O-x86_64 Target: x86-64 processors (like x86_64-*) labels Jul 1, 2024
@VorpalBlade
Copy link

VorpalBlade commented Jul 1, 2024

What is the point in supporting this? Apparently it was only ever supported on Buldozer (and other derived follows up like Piledriver etc), and was removed on Zen and later. So it seems largely like a historic curiosity of little use to anyone, with similar relevance as 3DNow.

@sayantn
Copy link
Contributor Author

sayantn commented Jul 1, 2024

That is true. I just saw that it was a major x86 target feature left unimplemented, so decided to start a pr. Also, a small addition like this shouldn't hurt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-simd Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. O-x86_32 Target: x86 processors, 32 bit (like i686-*) O-x86_64 Target: x86-64 processors (like x86_64-*)
Projects
None yet
Development

No branches or pull requests

3 participants