-xarch=sparc (==v9 ISA) for SS12 -xarch=v9 (or v8plus) for earlier versions of Sun Studio.
Regards, Darryl. On 11/17/08 14:43, Alan Coopersmith wrote: > Fedor Sergeev wrote: >> On Mon, Nov 17, 2008 at 02:01:23PM -0800, Alan Coopersmith wrote: >>> No, -m64 indicates "compile in 64-bit mode", not "Use exactly the original >>> v9 >>> ISA with no later extensions." >> Oh, come on. >> -xarch=v9 means "compile in LP64 mode using exactly the original v9 isa with >> no >> later extensions". > > Right, but the question you were responding to, I specifically asked for the > no > later extensions behavior. > >> -m64 -xarch=generic (which is equivalent to -m64, as -xarch=generic is >> default) >> does just that. > > I know it's the default now, I was looking for a option to future-proof our > Makefiles against future compiler upgrades, when the compiler team next > decides > to update the default ISA (like the bump in Studio 11 or 12 from -xarch=v8 to > -xarch=v8plus as default), since when building Solaris we still need to > support > platforms with CPU's like the Fujistu SPARC64 without VIS and other > extensions. > > From other documentation, it sounds like -xarch=generic is only to override > other -xarch settings to restore the default, and there is no option to allow > specifying a lower ISA revision than the default. > -- Darryl Gove Compiler Performance Engineering Blog: http://blogs.sun.com/d/ Book: http://www.sun.com/books/catalog/solaris_app_programming.xml