This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Alpha divsi3, modsi3, udivsi3, umodsi3


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]