Skip to content

Tracking Issue for clflushopt_target_feature #157096

@jlpetz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions