diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2017-02-12 03:39:11 +0100 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2017-02-12 03:39:11 +0100 |
commit | 6c576b7b0e2009a707a60b916190fe02e280f745 (patch) | |
tree | b6104b7a8404700c8b91401b8574e007e3b86518 /mpn/arm64 | |
parent | 34ed9cc9ab3cc1463102506385f77806175969ab (diff) | |
download | gmp-6c576b7b0e2009a707a60b916190fe02e280f745.tar.gz |
Use sub instead of add with -imm.
Diffstat (limited to 'mpn/arm64')
-rw-r--r-- | mpn/arm64/bdiv_q_1.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mpn/arm64/bdiv_q_1.asm b/mpn/arm64/bdiv_q_1.asm index e7ad2dbc0..2e189b884 100644 --- a/mpn/arm64/bdiv_q_1.asm +++ b/mpn/arm64/bdiv_q_1.asm @@ -85,7 +85,7 @@ ifdef(`PIC',` EPILOGUE() PROLOGUE(mpn_pi1_bdiv_q_1) - add n, n, #-1 + sub n, n, #1 subs x6, x6, x6 C clear r6 and C flag ldr x9, [up],#8 cbz cnt, L(norm) @@ -103,7 +103,7 @@ L(tpu): ldr x9, [up],#8 str x7, [rp],#8 lsr x12, x9, cnt umulh x6, x7, d - add n, n, #-1 + sub n, n, #1 cbnz n, L(tpu) L(eu1): sbcs x6, x12, x6 @@ -121,7 +121,7 @@ L(tpn): ldr x9, [up],#8 sbcs x5, x9, x5 mul x5, x5, di str x5, [rp],#8 - add n, n, #-1 + sub n, n, #1 cbnz n, L(tpn) L(en1): ret |