This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH, alpha]: Improve sysdeps/alpha/divqu.S and sysdeps/alpha/remqu.S
- From: Richard Henderson <rth at twiddle dot net>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 1 Apr 2019 16:02:18 +0700
- Subject: Re: [PATCH, alpha]: Improve sysdeps/alpha/divqu.S and sysdeps/alpha/remqu.S
- References: <CAFULd4ZzARNW3Z-XEVbpG9KS6-PY0nzzfzFs3iOHJ9fADsWU0w@mail.gmail.com> <4b9fbc74-e05e-da71-5e8b-61af289a9f70@twiddle.net> <CAFULd4acKuU=nVHNo_rgH4xbSQHN-DE0W=kfa5h9S3v83-rdrg@mail.gmail.com>
On 2/28/19 2:54 AM, Uros Bizjak wrote:
> Attached patch improves and unifies sysdeps/alpha/divqu.S and
> sysdeps/alpha/remqu.S.
>
> * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
> conditional branch to DIVBYZERO. Fix unwind info.
> * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
> excb after conditional branch to $powerof2. Add missing unop
> instructions and .align directives and reorder instructions to match
> __divqu.
>
> Signed-off-by: Uroš Bizjak <ubizjak@gmail.com>
Thanks, committed.
r~