bug-gmp
[Top][All Lists]
Advanced

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

Re: solaris compile prob


From: Torbjorn Granlund
Subject: Re: solaris compile prob
Date: 15 Dec 2001 02:41:14 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Kevin Ryde <address@hidden> writes:

  Does -xtarget=ultra do something better than -xtarget=native?  If so
  we could make put it into the default cflags for cc on ultrasparc-*-*.
  
Using -xtarget=native is better, since it choose the right
optimization for the build host.

  > I wound up having too many conflicts with other things that just
  > couldn't handle the 64 bit libs (and required too much R&D time on my
  > part to fix in order to be able to compile as 64-bit objects).
  
  Does cc support a "long long" in the 32-bit ABI, using 64-bit
  registers for it (in function calls etc)?

Under the 32-bit ABI, using `long long' isn't a good idea since the
32-bit ABI doesn't allow the use of 64-bit registers.

Sun uses the same names for ABI and ISA, which is confusing.  There
are ISAs called v8 and v9.  Then ABIs called v8, v8plus and v9.  The
ABI called v9 use 64-bit registers and pointer, while v8plus uses
32-bit pointers but allow the use of all applicable ISA v9
instructions.

Clear?  Probably not to anybody, in particluar not to the ones
designing this mess.  :-)

-- 
Torbjörn



reply via email to

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