[memcpy] fix error caused by switch to shorter OPs

This commit is contained in:
Geoffrey McRae 2018-07-26 05:49:24 +10:00
parent af143bdd82
commit 48d3403c40
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ memcpySSE proc
mov r10, 7
sub r10, r11
imul r10, 10
imul r10, 9
lea r9 , @FinalBlocks
add r9 , r10
jmp r9

View File

@ -51,7 +51,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
}
const void * end = dst + (length & ~0x7F);
const size_t off = (7 - ((length & 0x7F) >> 4)) * 10;
const size_t off = (7 - ((length & 0x7F) >> 4)) * 9;
__asm__ __volatile__ (
"cmp %[dst],%[end] \n\t"