mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +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
|
||||
for(size_t i = (length & 0xF); i; --i)
|
||||
((uint8_t *)dst)[length - i] =
|
||||
((uint8_t *)src)[length - i];
|
||||
memcpy(dst, src, length & 0xF);
|
||||
}
|
||||
#else
|
||||
#define memcpySSE memcpy
|
||||
|
Loading…
Reference in New Issue
Block a user