rust-lang / rust-lang/stdarch

Are there other intrinsics like _mm_maskmoveu_si128 that require mutable memory even when no mutation occurs?

Open
#2,216 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
694
Forks
336
Avg merge
5d 14h
Merged PRs (30d)
9

Description

As documented in https://github.com/rust-lang/stdarch/pull/2196, _mm_maskmoveu_si128(a, mask, ptr) requires the memory ptr points to to be writable, even if the mask makes it so that no write actually occurs.

Are there any other intrinsics like that? They should all get corresponding remarks in their documentation.
Cc @programmerjake @Amanieu @workingjubilee @folkertdev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing stdarch PR 2196 and the documentation for _mm_maskmoveu_si128, then search the intrinsic documentation for other operations whose memory must be writable even when no write occurs. Done means identifying every matching intrinsic and adding a corresponding documentation remark for each.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.