Files
rust/library
bors 2e667b0c64 Auto merge of #146948 - folkertdev:hint-prefetch, r=Amanieu
add `core::hint::prefetch_{read, write}_{data, instruction}`

tracking issue: https://github.com/rust-lang/rust/issues/146941
acp: https://github.com/rust-lang/libs-team/issues/638

well, we don't expose `prefetch_write_instruction`, that one doesn't really make sense in practice.

The implementation is straightforward, the docs can probably use some tweaks. Especially for the instruction version it's a little awkward.

r? `@Amanieu`
2025-12-10 03:18:26 +00:00
..
2025-06-16 07:00:13 +00:00
2025-12-10 00:17:57 +01:00
2025-07-01 10:55:49 -07:00
2025-11-16 23:35:37 -05:00