Skip to main content

copy_stream

Function copy_stream 

Source
pub fn copy_stream(dst: &mut [u8], src: &[u8])
Expand description

copy src into dst (the shorter length) with non-temporal stores where the target has them (x86-64: the 16-byte aligned part of dst): dst is neither read first nor pulled into the caches, which keep what the thread works on. Ends with the fence the stores need (sfence) before anything touches dst again; copy_stream_rows fences a block of rows once.