diff options
author | Steve Kondik <steve@cyngn.com> | 2016-07-01 08:45:04 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-07-01 08:45:04 -0700 |
commit | 0a143d038f08d595d2678839e7f5f5dafc92c78d (patch) | |
tree | d422b104f88d021c078d22c5bdb0c43765b83e71 | |
parent | 02972e7101291409121a085b104d3f7451a2e1d7 (diff) | |
download | bionic-0a143d038f08d595d2678839e7f5f5dafc92c78d.zip bionic-0a143d038f08d595d2678839e7f5f5dafc92c78d.tar.gz bionic-0a143d038f08d595d2678839e7f5f5dafc92c78d.tar.bz2 |
libc: Fix invalid offset warning with Clang
Change-Id: I71274a6f592356a259ccdbe9c09383bc75e2d26b
-rw-r--r-- | libc/arch-arm64/kryo/bionic/memcpy_base.S | 4 |
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 |