Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for AArch64 prefetch intrinsic #117217

Open
3 tasks
Amanieu opened this issue Oct 26, 2023 · 2 comments
Open
3 tasks

Tracking Issue for AArch64 prefetch intrinsic #117217

Amanieu opened this issue Oct 26, 2023 · 2 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. O-AArch64 Armv8-A or later processors in AArch64 mode T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@Amanieu
Copy link
Member

Amanieu commented Oct 26, 2023

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

  • Implementation: #...
  • Final comment period (FCP)1
  • Stabilization PR

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

@Amanieu Amanieu added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. labels Oct 26, 2023
@Jules-Bertholet
Copy link
Contributor

@rustbot label o-aarch64

@rustbot rustbot added the O-AArch64 Armv8-A or later processors in AArch64 mode label Oct 26, 2023
@mert-kurttutan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. O-AArch64 Armv8-A or later processors in AArch64 mode T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants