summaryrefslogtreecommitdiff
path: root/gmp-impl.h
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2016-10-31 23:00:36 +0100
committerOleg Oshmyan <chortos@inbox.lv>2016-10-31 23:00:36 +0100
commitc6d70f981c9399af742e8444d91ed5057829d277 (patch)
tree554e2ebb43d226524e22fb5d147695fdb2e34ae9 /gmp-impl.h
parentfc91d4e6af1712af6fb26188ccd64a521167805b (diff)
downloadgmp-c6d70f981c9399af742e8444d91ed5057829d277.tar.gz
(x86_64 MPN_IORD_U): Use proper asm constraint.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index 9a6d6d692..bb69ed0e4 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -2688,7 +2688,7 @@ __GMP_DECLSPEC mp_bitcnt_t mpn_remove (mp_ptr, mp_size_t *, mp_srcptr, mp_size_t
ASM_L(done) ":\n" \
: "=r" (__ptr_dummy) \
: "0" (ptr), \
- "ri" ((mp_limb_t) (incr)), "n" (sizeof(mp_limb_t)) \
+ "re" ((mp_limb_t) (incr)), "n" (sizeof(mp_limb_t)) \
: "memory"); \
} \
} while (0)