bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SPARC v8 udiv_qrnnd


From: Kevin Ryde
Subject: Re: SPARC v8 udiv_qrnnd
Date: 17 Oct 2001 07:50:36 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

Mark Mentovai <address@hidden> writes:
>
> On SPARC, running Solaris at least, gcc defines __sparcv8 if the target CPU
> is a SPARC v8.

Ah yes, I see that in gcc/config/sol2-sld-64.h.

> This includes the the v9 target when the 32-bit environment
> is selected.

Hmm.  That's a bit annoying, it means we can't identify a v9 from cpp
defines.  Not that there's much we want to do with that in longlong.h
right now, but the "mulx" code ought to be enabled one day.  Will need
to pass something through from ./configure I guess.

> longlong.h assumes that __sparc_v8__ will be defined for this
> CPU, which is not the case with gcc.  I don't think it's the case with Sun's
> compiler, either.
> 
> This is a quick patch to adjust longlong.h to check for __sparcv8 in
> addition to __sparc_v8__.

Thanks, applied.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]