Tracking Issue for `clflushopt_target_feature`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.2k
- PR merge metrics
- PR metrics pending
Description
This is a tracking issue for the clflushopt x86 target feature, used to gate the _mm_clflushopt intrinsic (#![feature(clflushopt_target_feature)]).
Requested in rust-lang/stdarch#1456. CLFLUSHOPT is a standalone x86 CPUID feature (Intel Skylake+ / AMD Excavator+, ~2015) for weakly-ordered cache-line flushing. Today stdarch exposes only the SSE2 _mm_clflush; there is no way to emit clflushopt from an intrinsic.
Steps
- Add the
clflushopttarget feature to the compiler (this issue). - Add the
_mm_clflushoptintrinsic in stdarch (see rust-lang/stdarch#1456). - Stabilization PR.
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 by reading the compiler's existing handling of x86 target features and the linked stdarch#1456 request for context. The compiler portion is done when clflushopt is accepted as a target feature and can gate the planned _mm_clflushopt intrinsic; stabilization is listed separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100