mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[memcpy] fix error caused by switch to shorter OPs
This commit is contained in:
parent
af143bdd82
commit
48d3403c40
@ -57,7 +57,7 @@ memcpySSE proc
|
|||||||
|
|
||||||
mov r10, 7
|
mov r10, 7
|
||||||
sub r10, r11
|
sub r10, r11
|
||||||
imul r10, 10
|
imul r10, 9
|
||||||
lea r9 , @FinalBlocks
|
lea r9 , @FinalBlocks
|
||||||
add r9 , r10
|
add r9 , r10
|
||||||
jmp r9
|
jmp r9
|
||||||
|
@ -51,7 +51,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
}
|
}
|
||||||
|
|
||||||
const void * end = dst + (length & ~0x7F);
|
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__ (
|
__asm__ __volatile__ (
|
||||||
"cmp %[dst],%[end] \n\t"
|
"cmp %[dst],%[end] \n\t"
|
||||||
|
Loading…
Reference in New Issue
Block a user