mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-12 20:27:53 +00:00
[common] inline memcpy into memcpySSE for the final bytes
This commit is contained in:
parent
56f0a8525b
commit
e9d77e6c52
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue