tweak avx memcpy
This commit is contained in:
parent
edec5da87c
commit
a55a348cd6
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ void blt_copy(
|
|||
size -= 256;
|
||||
}
|
||||
|
||||
_mm_sfence();
|
||||
_mm256_zeroupper();
|
||||
|
||||
if (size > 0)
|
||||
{
|
||||
memcpy(dst, src, size);
|
||||
|
|
Loading…
Reference in a new issue