-xarch=generic (or -xtarget=generic) aims to produce code that will run and produce good performance on every supported machine.
Regards, Darryl. On 11/17/08 13:14, Alan Coopersmith wrote: > Is there any replacement for -xarch=v9 to indicate "Don't use any SPARC ISA > extensions so this runs on all sun4u/sun4v machines" that doesn't result in > Sun Studio issuing obnoxious "We obsoleted your flags" warnings for every > file compiled? > > -Alan Coopersmith- alan.coopersmith at sun.com > Sun Microsystems, Inc. - X Window System Engineering > > Darryl Gove wrote: >> Hi, >> >> If you're building with Sun Studio 12, then the options we prefer going >> forward are: >> >> -xarch=generic >> -xarch=sparcvis >> -xarch=sparcvis2 >> -xarch=spacfmaf >> >> http://developers.sun.com/sunstudio/documentation/ss12/whatsnew.html >> >> So v9c should not be used. >> >> Regards, >> >> Darryl. >> >> >> James Carlson wrote: >>> Roland Mainz writes: >>> >>>> usr/src/Makefile.master references the value "v9c" as option for the Sun >>>> Studio compiler... >>>> >>> A quick google search leads to discussion of SPARC64 VI CPUs, >>> including a reference on this page: >>> >>> http://developers.sun.com/sunstudio/support/Ccompare.html >>> >>> >>>> ... but the manpage cc(1) does not reference it. Is this a documentation >>>> bug in cc(1) or something else ? >>>> >>> The history here seems murky. CR 6520539 seems to describe the >>> option, but there's nothing I can see in the documentation, and the >>> related CRs for implementing it don't mention it at all. >>> >>> >> _______________________________________________ >> tools-compilers mailing list >> tools-compilers at opensolaris.org > > -- Darryl Gove Compiler Performance Engineering Blog: http://blogs.sun.com/d/ Book: http://www.sun.com/books/catalog/solaris_app_programming.xml
