diff options
author | Brian Steuer <bsteuer@codeaurora.org> | 2009-12-16 21:17:40 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2011-01-14 02:57:31 -0700 |
commit | 80f4dde02580e827cc80becb99d6c9f99a8a2288 (patch) | |
tree | 30a7b83ef87488d68a02d895ec20261d1752b35f | |
parent | e8ecfc3662d1396380d94524a686d0459e5bc92a (diff) | |
download | bionic-M76XXTSNCJNLYA6120.zip bionic-M76XXTSNCJNLYA6120.tar.gz bionic-M76XXTSNCJNLYA6120.tar.bz2 |
bionic: Change cache line size to 32M8660AAABQNLZA3110M8660AAABQNLYA107616M8660AAABQNLYA107614M8660AAABQNLYA107502M8660AAABQNLYA1075M8260AAABQNLZA2520M76XXTSNCJNLYA6120
Setting the cache line size to 32 for cache readahead purposes
improves performance for most memcpy sizes.
Change-Id: I923649c7bfca352d0d520c9d017c820eb6f6b005
-rw-r--r-- | libc/arch-arm/bionic/memcpy.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/arch-arm/bionic/memcpy.S b/libc/arch-arm/bionic/memcpy.S index ace7cc5..b8d1007 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: |