diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-06-12 00:55:42 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-06-12 00:55:42 +0200 |
commit | 649517fcdf487399d2ad5c0932bbef3a09318939 (patch) | |
tree | 3fd3a9c71a1541d8e301890f29d0808abdbcd98e /gmp-impl.h | |
parent | 5055bb37ca20948a19d1f08c3d0d9b57ebfc70c5 (diff) | |
download | gmp-649517fcdf487399d2ad5c0932bbef3a09318939.tar.gz |
Touch more for:
* gmp-impl.h
(mpn_incr_u, mpn_decr_u, MPN_INCR_U, MPN_DECR_U): Add i386 optimized
versions.
Prefer address update after inc/dec, to avoid an AGI on P5, or an
address dependency on the other x86s.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index b245c3d23..f9296965e 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -1036,8 +1036,8 @@ void mpn_xnor_n _PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t)); ( aors " %2, (%0)\n" \ " jnc " ASM_L(done) "\n" \ ASM_L(top) ":\n" \ - " addl $4, %0\n" \ - iord " (%0)\n" \ + iord " 4(%0)\n" \ + " leal 4(%0), %0\n" \ jiord " " ASM_L(top) "\n" \ ASM_L(done) ":\n" \ : "=r" (__dummy) : "0" (ptr), "ri" (n) : "memory"); \ |