Backport from trunk (rev #5326)
This patch defines an approach to detect SPARC processors, so that more
specific optimization options can be added to GCC.
The family of chips detected are UltraSPARC II, UltraSPARC III (Cu and i),
and UltraSPARC T1; for this last one, optimizations are used only if gcc is
See http://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html#SPARC-Options for
Closes patch 2512634.
Credits go to Sergio Gutierrez