mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[common] inline memcpy into memcpySSE for the final bytes
This commit is contained in:
parent
56f0a8525b
commit
e9d77e6c52
@ -128,9 +128,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
);
|
);
|
||||||
|
|
||||||
//copy any remaining bytes
|
//copy any remaining bytes
|
||||||
for(size_t i = (length & 0xF); i; --i)
|
memcpy(dst, src, length & 0xF);
|
||||||
((uint8_t *)dst)[length - i] =
|
|
||||||
((uint8_t *)src)[length - i];
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define memcpySSE memcpy
|
#define memcpySSE memcpy
|
||||||
|
Loading…
Reference in New Issue
Block a user