-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(movrs_target_feature)]
This is a tracking issue for the x86(64) target feature movrs. It includes 2 instructions - MOVRS and PREFETCHRST2. These behave as normal MOV and PREFETCHW instructions, just with the "read-shared" hint. This, as suggested by the name, is purely a hint to the processor that the data loaded/stored by the instruction is likely to get accessed by multiple processors.
Public API
The movrs target feature (which enables the MOVRS and PREFETCHRST2 instructions) and the following stdarch intrinsics
_movrs_i8_movrs_i16_movrs_i32_movrs_i64_m_prefetchrs
Steps / History
- Implementation
- Final comment period (FCP)1
- Stabilization PR
Implementation History
- Add the new
amxtarget features and themovrstarget feature #138003 - Add runtime detection for new AMX variants and MOVRS stdarch#1763
Unresolved Questions
- How does this interact with the memory model? The Intel specification strongly suggests that this is just a hint to the processor, but we need to check to be sure.
Footnotes
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.