From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Carr To: Joe Buck Cc: frichard@bbn.com, egcs@cygnus.com Subject: Re: sparc64 support for Solaris Date: Fri, 17 Oct 1997 19:44:00 -0000 Message-id: <199710180243.WAA02221@jfc.> References: <199710180206.TAA24784@atrus.synopsys.com> X-SW-Source: 1997-10/msg00774.html > > 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.