summaryrefslogtreecommitdiffstats
path: root/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-02-12 16:41:49 +0100
committerAndreas Schwab <schwab@redhat.com>2010-02-22 16:34:01 +0100
commit0c3f133ed106996172dd2c106b22e38ce695e63d (patch)
tree4fbc1e12e2cb2b1b644219a666a8a24e667190ba /sysdeps/i386/i686/multiarch/memset-sse2-rep.S
parentReapply "Optimize 32bit memset/memcpy with SSE2/SSSE3." (diff)
downloadglibc-0c3f133ed106996172dd2c106b22e38ce695e63d.tar.xz
glibc-0c3f133ed106996172dd2c106b22e38ce695e63d.zip
Use unsigned comparison in sse memcpy/memset
Diffstat (limited to 'sysdeps/i386/i686/multiarch/memset-sse2-rep.S')
-rw-r--r--sysdeps/i386/i686/multiarch/memset-sse2-rep.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
index 84afffeb66..d4bf9b7d3e 100644
--- a/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
+++ b/sysdeps/i386/i686/multiarch/memset-sse2-rep.S
@@ -261,7 +261,7 @@ L(not_aligned_16):
ALIGN (4)
L(aligned_16):
cmp $128, %ecx
- jge L(128bytesormore)
+ jae L(128bytesormore)
L(aligned_16_less128bytes):
BRANCH_TO_JMPTBL_ENTRY (L(table_16_128bytes))
@@ -306,7 +306,7 @@ L(128bytesormore_normal):
movdqa %xmm0, 0x60(%edx)
movdqa %xmm0, 0x70(%edx)
lea 128(%edx), %edx
- jl L(128bytesless_normal)
+ jb L(128bytesless_normal)
sub $128, %ecx
@@ -319,7 +319,7 @@ L(128bytesormore_normal):
movdqa %xmm0, 0x60(%edx)
movdqa %xmm0, 0x70(%edx)
lea 128(%edx), %edx
- jge L(128bytesormore_normal)
+ jae L(128bytesormore_normal)
L(128bytesless_normal):
POP (%edi)