Skip to content

Tracking Issue for AArch64 prefetch intrinsic #117217

New issue

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

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

Already on GitHub? # to your account

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: An issue tracking the progress of sth. like the implementation of an RFC 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: An issue tracking the progress of sth. like the implementation of an RFC 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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC 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