This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sparc64 support for Solaris
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: sparc64 support for Solaris
- From: John Carr <jfc at tiac dot net>
- Date: Fri, 17 Oct 1997 22:43:50 -0400
- cc: frichard at bbn dot com, egcs at cygnus dot com
> > I was wondering how I can enable 64 bit support and v9 instruction
> > scheduling for an Ultra 1 Model 170 running Solaris2.5.
>
> If you turned it on, your process would bomb at the first context switch.
> Solaris 2.5.x does not save the 64-bit register state, so basically some
> registers will come back randomized (from other processes?).
Not randomized, zero extended.
All 64 bits of the global and out registers are preserved over a
context switch. I've made some changes to take advantage of this for
certain 64 bit operations in 32 bit mode (e.g. cmpdi is inline). This
is effectively a peephole optimization -- I don't keep 64 bit registers
live across gcc instruction boundaries because that would be too hard.
> Solaris 2.6 is supposed to fix this.
2.6 is the same as 2.5, I'm told. 2.7 (next summer?) will support 64
bit processes.