Skip to content

Tracking Issue for clflushopt_target_feature #157096

Open

Description

@jlpetz

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 clflushopt target feature to the compiler (this issue).
  • Add the _mm_clflushopt intrinsic in stdarch (see rust-lang/stdarch#1456).
  • Stabilization PR.

Activity

  1. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on May 29, 2026
  2. jlpetz commented on May 29, 2026

    @jlpetz
    ContributorAuthor

    Compiler PR opened: #157098 (adds the clflushopt target feature).

    The stdarch intrinsic (_mm_clflushopt, rust-lang/stdarch#1456) is the follow-up and is blocked on #157098 merging + syncing into stdarch's pinned toolchain.

  3. changed the title [-]Tracking Issue for clflushopt_target_feature[/-] [+]Tracking Issue for `clflushopt_target_feature`[/+] on May 29, 2026
  4. added a commit that references this issue on May 29, 2026
  5. added
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions