bug-gmp
[Top][All Lists]
Advanced

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

Re: SPARC v8 udiv_qrnnd


From: Torbjorn Granlund
Subject: Re: SPARC v8 udiv_qrnnd
Date: 17 Oct 2001 18:59:01 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6

Kevin Ryde <address@hidden> writes:

  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.
  
The problem is that Sun badly confuses ISA and ABI.
SPARC v8 and SPARC V9 are ISAs, while v8, v8plus, v9 are ABIs.

The latter two ABIs require SPARC V9; SPARC V8 can only execute v8 ABI
binaries.

Clever, isn't it?  :-)

-- 
Torbjörn



reply via email to

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