Skip to content

Add non-temporal note for maskmoveu_si128 #1885

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

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

197g
Copy link
Contributor

@197g 197g commented Jul 24, 2025

Like any other non-temporal instructions this has additional safety requirements due to the mismatch with the Rust memory model. It is vital to know when using this instruction.


This is a case where some form of safety property system would grow on me. If downstream users of this intrinsic instruction failed to reason about sfence they will not get any warnings about this safety-requirements bug fix.

@rustbot
Copy link
Collaborator

rustbot commented Jul 24, 2025

r? @sayantn

rustbot has assigned @sayantn.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Like any other non-temporal instructions this has additional safety requirements
due to the mismatch with the Rust memory model. It is vital to know when using
this instruction.
@197g 197g force-pushed the maskmove-is-non-temporal branch from 226532e to 92b63ab Compare July 24, 2025 12:52
@sayantn
Copy link
Contributor

sayantn commented Jul 24, 2025

Thanks for the PR, for some reason only this non-temporal store is not named as stream* lol

@sayantn sayantn added this pull request to the merge queue Jul 24, 2025
Merged via the queue into rust-lang:master with commit 3e43563 Jul 24, 2025
62 checks passed
@197g 197g deleted the maskmove-is-non-temporal branch July 24, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants