aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-15 09:56:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-15 09:56:17 -0700
commit6d2850e7f5df4c67ca2ec172a945cbab20d9f050 (patch)
tree6f8d49646f7c797b16d8b8cbd3b3849bca42a1a2 /sysdeps/x86_64
parent3cb845617b80442ebb96a836852c329ecbdc738d (diff)
downloadglibc-6d2850e7f5df4c67ca2ec172a945cbab20d9f050.tar
glibc-6d2850e7f5df4c67ca2ec172a945cbab20d9f050.tar.gz
glibc-6d2850e7f5df4c67ca2ec172a945cbab20d9f050.tar.bz2
glibc-6d2850e7f5df4c67ca2ec172a945cbab20d9f050.zip
Load cache sizes into R*_LP in memcpy-ssse3-back.S
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/multiarch/memcpy-ssse3-back.S20
1 files changed, 10 insertions, 10 deletions
diff --git a/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S b/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
index 0252f1636d..5af9f4993c 100644
--- a/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
+++ b/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
@@ -106,9 +106,9 @@ L(144bytesormore):
and $0xf, %r9
jz L(shl_0)
#ifdef DATA_CACHE_SIZE
- mov $DATA_CACHE_SIZE, %rcx
+ mov $DATA_CACHE_SIZE, %RCX_LP
#else
- mov __x86_64_data_cache_size(%rip), %rcx
+ mov __x86_64_data_cache_size(%rip), %RCX_LP
#endif
cmp %rcx, %rdx
jae L(gobble_mem_fwd)
@@ -122,9 +122,9 @@ L(144bytesormore):
ALIGN (4)
L(copy_backward):
#ifdef DATA_CACHE_SIZE
- mov $DATA_CACHE_SIZE, %rcx
+ mov $DATA_CACHE_SIZE, %RCX_LP
#else
- mov __x86_64_data_cache_size(%rip), %rcx
+ mov __x86_64_data_cache_size(%rip), %RCX_LP
#endif
shl $1, %rcx
cmp %rcx, %rdx
@@ -156,9 +156,9 @@ L(shl_0):
shr $8, %r9
add %rdx, %r9
#ifdef DATA_CACHE_SIZE
- cmp $DATA_CACHE_SIZE_HALF, %r9
+ cmp $DATA_CACHE_SIZE_HALF, %R9_LP
#else
- cmp __x86_64_data_cache_size_half(%rip), %r9
+ cmp __x86_64_data_cache_size_half(%rip), %R9_LP
#endif
jae L(gobble_mem_fwd)
sub $0x80, %rdx
@@ -1478,9 +1478,9 @@ L(gobble_mem_fwd):
add $16, %rdi
#ifdef SHARED_CACHE_SIZE_HALF
- mov $SHARED_CACHE_SIZE_HALF, %rcx
+ mov $SHARED_CACHE_SIZE_HALF, %RCX_LP
#else
- mov __x86_64_shared_cache_size_half(%rip), %rcx
+ mov __x86_64_shared_cache_size_half(%rip), %RCX_LP
#endif
#ifdef USE_AS_MEMMOVE
mov %rsi, %r9
@@ -1585,9 +1585,9 @@ L(gobble_mem_bwd):
#ifdef SHARED_CACHE_SIZE_HALF
- mov $SHARED_CACHE_SIZE_HALF, %rcx
+ mov $SHARED_CACHE_SIZE_HALF, %RCX_LP
#else
- mov __x86_64_shared_cache_size_half(%rip), %rcx
+ mov __x86_64_shared_cache_size_half(%rip), %RCX_LP
#endif
#ifdef USE_AS_MEMMOVE
mov %rdi, %r9