Skip to content

Tracking Issue for clflushopt_target_feature #157096

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

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 it if it has been sufficiently triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions