rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.15k stars 12.69k forks source link

Tracking Issue for AArch64 prefetch intrinsic #117217

Open Amanieu opened 1 year ago

Amanieu commented 1 year ago

Feature gate: #![feature(stdarch_aarch64_prefetch)]

This is a tracking issue for the AArch64 _prefetch intrinsic.

Public API

// core::arch::aarch64

pub const _PREFETCH_READ: i32;
pub const _PREFETCH_WRITE: i32;
pub const _PREFETCH_LOCALITY0: i32;
pub const _PREFETCH_LOCALITY1: i32;
pub const _PREFETCH_LOCALITY2: i32;
pub const _PREFETCH_LOCALITY3: i32;

pub unsafe fn _prefetch<const RW: i32, const LOCALITY: i32>(p: *const i8);

Steps / History

Unresolved Questions

Jules-Bertholet commented 1 year ago

@rustbot label o-aarch64

mert-kurttutan commented 3 months ago

Hi @Amanieu , I want to help with the stabilization of this feature since I am working on a project that requires this (I am using inline asm for the time being). Any guidance would be appreciated.