This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Alpha divsi3, modsi3, udivsi3, umodsi3
- To: Torbjorn Granlund <tege at matematik dot su dot se>, egcs at cygnus dot com
- Subject: Re: Alpha divsi3, modsi3, udivsi3, umodsi3
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 2 Jun 1998 09:39:11 -0700
- References: <199805271331.PAA22244@tiger.matematik.su.se>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Wed, May 27, 1998 at 03:31:40PM +0200, Torbjorn Granlund wrote:
> ;; ??? comment out the divsi routines since the library functions
> ;; don't seem to do the right thing with the high 32-bits of a
> ;; register nonzero.
>
> I don't fully understand this comment.
Apparently some versions of OSF/1 __divl et al don't do the right thing
when the inputs are not in their canonical sign-extended form.
We should indeed be able to come up with a work-around less drastic
than disabling the SImode patterns. Two of them, in fact, since I know
that Linux's routines do an explicit sign-extension, and so do not have
this problem.
I'll look into this.
r~