OSDN Git Service

Improve memcpy performance from 290 MiB/s to 340 MiB/s (17% improvment)
authorMathias Agopian <mathias@google.com>
Wed, 28 Oct 2009 09:54:37 +0000 (02:54 -0700)
committerMathias Agopian <mathias@google.com>
Wed, 28 Oct 2009 10:17:02 +0000 (03:17 -0700)
commit199f9d923804d74e021dd80e48ec75c0a96dba77
tree3a00bb9e267cf952d7d1140ff9a39ca07ee6c994
parent763ac28357f604e0e4196e0a7ad5b0f5cdcf274a
Improve memcpy performance from 290 MiB/s to 340 MiB/s (17% improvment)

use 64 bytes cache lines, reduce the main loop to 64-bytes instead of
128 bytes and adjust the prefetch distance to the optimal value.
libc/arch-arm/bionic/memcpy.S