You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Are there other intrinsics like _mm_maskmoveu_si128 that require mutable memory even when no mutation occurs? #2216
As documented in #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.
Activity
programmerjake commentedon Aug 31, 2026
the only other x86 instructions I'm aware of that behaves like this are
cmpxchg, and the double-sized versioncmpxchg8b/cmpxchg16b.There may be additional instructions I'm not aware of though.