Tracking Issue for constifying x86 intrinsics in stdarch
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Feature gate: #![feature(stdarch_const_x86)]
This is a tracking issue for unstable const versions of x86(64) intrinsics in stdarch.
Public API
~50% of x86(64) intrinsics in stdarch are amenable to constification. Intel has some weird pecularities in floating point, especially in comparison and conversion, which will be nontrivial to constify. Most integer intrinsics have been constified.
Steps / History
- Implementation: rust-lang/stdarch#1925
- Final comment period (FCP)^1
- Stabilization PR
Unresolved Questions
- There are a few very specialized float intrinsics (mostly in AVX512), do we want to constify them?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the feature gate #![feature(stdarch_const_x86)] and the implementation tracked in rust-lang/stdarch#1925. Review which x86(64) intrinsics are already constified and the unresolved question about specialized AVX512 floating-point intrinsics. Done requires the implementation, final comment period, and stabilization PR to be completed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100