Skip to content

Commit

Permalink
Improve docs of SSE4a stream intrinsics
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Apr 20, 2019
1 parent c2c4e67 commit c0b12da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/core_arch/src/x86/sse4a.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ pub unsafe fn _mm_insert_si64(x: __m128i, y: __m128i) -> __m128i {
}

/// Non-temporal store of `a.0` into `p`.
///
/// Writes 64-bit data to a memory location without polluting the caches.
#[inline]
#[target_feature(enable = "sse4a")]
#[cfg_attr(test, assert_instr(movntsd))]
Expand All @@ -69,6 +71,8 @@ pub unsafe fn _mm_stream_sd(p: *mut f64, a: __m128d) {
}

/// Non-temporal store of `a.0` into `p`.
///
/// Writes 32-bit data to a memory location without polluting the caches.
#[inline]
#[target_feature(enable = "sse4a")]
#[cfg_attr(test, assert_instr(movntss))]
Expand Down

0 comments on commit c0b12da

Please sign in to comment.