summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio_ext.cpp
diff options
context:
space:
mode:
authorJake Weinstein <xboxlover360@gmail.com>2017-04-07 14:55:53 -0400
committerChristopher Ferris <cferris@google.com>2017-04-12 14:58:29 -0700
commit4d114f9e215fadc7d4f65f4d1ddccf95523ad6ee (patch)
tree105cb4dfc9f71e59a0a7dae904b40c6c90cb607d /libc/stdio/stdio_ext.cpp
parent2be801302725ab10f7e1fb62ba663ef477f58c6d (diff)
libc: use Cortex-A7/A53 memset on Kryo
Tested on OnePlus 3 with MSM8996 Before (Krait): BM_string_memset/8 1000k 7 1.071 GiB/s BM_string_memset/64 1000k 9 6.720 GiB/s BM_string_memset/512 1000k 19 26.699 GiB/s BM_string_memset/1024 1000k 29 34.214 GiB/s BM_string_memset/8Ki 10M 184 44.302 GiB/s BM_string_memset/16Ki 5M 351 46.656 GiB/s BM_string_memset/32Ki 5M 686 47.744 GiB/s BM_string_memset/64Ki 1000k 1355 48.342 GiB/s After (A7/A53): BM_string_memset/8 1000k 7 1.017 GiB/s BM_string_memset/64 1000k 7 8.039 GiB/s BM_string_memset/512 1000k 13 37.976 GiB/s BM_string_memset/1024 1000k 21 47.595 GiB/s BM_string_memset/8Ki 10M 150 54.354 GiB/s BM_string_memset/16Ki 10M 285 57.336 GiB/s BM_string_memset/32Ki 5M 555 59.016 GiB/s BM_string_memset/64Ki 1000k 1097 59.720 GiB/s Test: make otapackage Test: Verified this wins in all dimensions on a Pixel device. Change-Id: I4cb72cc0363877de7c41d6f991149fda42fd0b4b
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions