commit | 7337a0921236d7cbad630aeb35e8667cbb27feb4 | [log] [tgz] |
---|---|---|
author | Duane Sand <duane.sand@imgtec.com> | Thu Apr 16 18:10:37 2015 -0700 |
committer | Duane Sand <duane.sand@imgtec.com> | Thu Apr 16 18:26:22 2015 -0700 |
tree | d99d09da903010982b32f393fc736d9b91ab0db6 | |
parent | e5b2a8f75744a0326fbf1ebdec49ed771753f1d5 [diff] |
[MIPS] Fast android_memset for Mips64, Mipsr6 Fix broken mips64 build by replacing mips32r2-only android_memset.S. Use HW-bonded pairs of 64-bit stores to fill 128 bits/cycle. Rely on HW automatic cache prefetch optimizations. Software cache prefetching is counterproductive on next mips cores. New method is coded in C, and also works okay on non-Mips architectures. Change-Id: Id7153a8fe11538fe25287e101375661b0e99e2a2