[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

@@ -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"
@@ -132,4 +132,4 @@ Place, Suite 330, Boston, MA 02111-1307 USA
}
#else
#define memcpySSE memcpy
#endif
#endif