public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Andreas Schwab <schwab@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] m68k: fix __mpn_lshift and __mpn_rshift for non-68020 Date: Thu, 17 Aug 2023 19:56:52 +0000 (GMT) [thread overview] Message-ID: <20230817195652.ACF453858C30@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=464fd8249e8b791248cab7b0e0cd91757435fa9e commit 464fd8249e8b791248cab7b0e0cd91757435fa9e Author: Andreas Schwab <schwab@linux-m68k.org> Date: Thu Aug 17 17:15:34 2023 +0200 m68k: fix __mpn_lshift and __mpn_rshift for non-68020 From revision 03f3d275d0d6 in the gmp repository. Diff: --- sysdeps/m68k/m680x0/lshift.S | 4 ++-- sysdeps/m68k/m680x0/rshift.S | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sysdeps/m68k/m680x0/lshift.S b/sysdeps/m68k/m680x0/lshift.S index 2aee10348e..4240738959 100644 --- a/sysdeps/m68k/m680x0/lshift.S +++ b/sysdeps/m68k/m680x0/lshift.S @@ -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) diff --git a/sysdeps/m68k/m680x0/rshift.S b/sysdeps/m68k/m680x0/rshift.S index d16bca9307..d56a2b4a44 100644 --- a/sysdeps/m68k/m680x0/rshift.S +++ b/sysdeps/m68k/m680x0/rshift.S @@ -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 */
reply other threads:[~2023-08-17 19:56 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230817195652.ACF453858C30@sourceware.org \ --to=schwab@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).