summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/kryo/bionic
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/kryo/bionic')
-rw-r--r--libc/arch-arm64/kryo/bionic/memcpy_base.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/arch-arm64/kryo/bionic/memcpy_base.S b/libc/arch-arm64/kryo/bionic/memcpy_base.S
index 0096bb7..ee0757d 100644
--- a/libc/arch-arm64/kryo/bionic/memcpy_base.S
+++ b/libc/arch-arm64/kryo/bionic/memcpy_base.S
@@ -170,8 +170,8 @@ kryo_bb_prime_pump:
add x10, x1, #(PLDOFFS*PLDSIZE)
bic x10, x10, #0x7F
sub x12, x12, #PLDOFFS
- prfm PLDL1KEEP, [x10, #(-1*PLDSIZE)]
- prfm PLDL1KEEP, [x10, #(-1*PLDSIZE+64)]
+ prfm PLDL1KEEP, [x10, #((PLDOFFS-1)*PLDSIZE)]
+ prfm PLDL1KEEP, [x10, #((PLDOFFS-1)*PLDSIZE)+64]
cmp x12, #(448*1024/128)
bhi kryo_bb_copy_128_loop_ddr