mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +08:00
m68k: fix __mpn_lshift and __mpn_rshift for non-68020
From revision 03f3d275d0d6 in the gmp repository.
This commit is contained in:
parent
369f373057
commit
464fd8249e
@ -77,8 +77,8 @@ L(Lnormal:)
|
||||
#else /* not mc68000 */
|
||||
movel R(s_size),R(d0)
|
||||
asll #2,R(d0)
|
||||
addl R(s_size),R(s_ptr)
|
||||
addl R(s_size),R(res_ptr)
|
||||
addl R(d0),R(s_ptr)
|
||||
addl R(d0),R(res_ptr)
|
||||
#endif
|
||||
movel MEM_PREDEC(s_ptr),R(d2)
|
||||
movel R(d2),R(d0)
|
||||
|
@ -127,8 +127,8 @@ L(Lspecial:)
|
||||
#else /* not mc68000 */
|
||||
movel R(s_size),R(d0)
|
||||
asll #2,R(d0)
|
||||
addl R(s_size),R(s_ptr)
|
||||
addl R(s_size),R(res_ptr)
|
||||
addl R(d0),R(s_ptr)
|
||||
addl R(d0),R(res_ptr)
|
||||
#endif
|
||||
|
||||
clrl R(d0) /* initialize carry */
|
||||
|
Loading…
Reference in New Issue
Block a user