summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/bionic/memcpy.S
diff options
context:
space:
mode:
authorBrian Steuer <bsteuer@quicinc.com>2009-12-16 21:17:40 -0800
committerBrian Steuer <bsteuer@quicinc.com>2009-12-16 21:17:40 -0800
commit5a1d1c7429479ff528812256a7b7eec766823236 (patch)
tree7cd948b92bf0e46d02d6461560627aa53543cc6e /libc/arch-arm/bionic/memcpy.S
parentc5c0adffe8561332371f201c5693369db0a88666 (diff)
downloadbionic-5a1d1c7429479ff528812256a7b7eec766823236.zip
bionic-5a1d1c7429479ff528812256a7b7eec766823236.tar.gz
bionic-5a1d1c7429479ff528812256a7b7eec766823236.tar.bz2
bionic: Change cache line size to 32
Setting the cache line size to 32 for cache readahead purposes improves performance for most memcpy sizes.
Diffstat (limited to 'libc/arch-arm/bionic/memcpy.S')
-rw-r--r--libc/arch-arm/bionic/memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/arch-arm/bionic/memcpy.S b/libc/arch-arm/bionic/memcpy.S
index ef4b399..976930c 100644
--- a/libc/arch-arm/bionic/memcpy.S
+++ b/libc/arch-arm/bionic/memcpy.S
@@ -38,7 +38,7 @@
.align 4
/* a prefetch distance of 4 cache-lines works best experimentally */
-#define CACHE_LINE_SIZE 64
+#define CACHE_LINE_SIZE 32
#define PREFETCH_DISTANCE (CACHE_LINE_SIZE*4)
memcpy: