Modify prefetch for krait memcpy.
I originally modified the krait mainloop prefetch from cacheline * 8 to * 2. This causes a perf degradation for copies bigger than will fit in the cache. Fixing this back to the original * 8. I tried other multiples, but * 8 is th sweet spot on krait. Bug: 11221806 (cherry picked from commit c3c58fb560fcf1225d4bfb533ba41add8de910e4) Change-Id: I369f81d91ba97a3fcecac84ac57dec921b4758c8
This commit is contained in:
parent
ac6bc31942
commit
fbefb252b0
@ -79,7 +79,7 @@ ENTRY(MEMCPY_BASE)
|
||||
1: /* The main loop copies 64 bytes at a time */
|
||||
vld1.8 {d0 - d3}, [r1]!
|
||||
vld1.8 {d4 - d7}, [r1]!
|
||||
pld [r1, #(32*2)]
|
||||
pld [r1, #(32*8)]
|
||||
subs r2, r2, #64
|
||||
vst1.8 {d0 - d3}, [r0, :128]!
|
||||
vst1.8 {d4 - d7}, [r0, :128]!
|
||||
|
Loading…
x
Reference in New Issue
Block a user