[common] inline memcpy into memcpySSE for the final bytes

This commit is contained in:
Geoffrey McRae 2018-05-19 18:31:49 +10:00
parent 56f0a8525b
commit e9d77e6c52

View File

@ -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