1*c87b03e5Sespie/* Definitions of target machine for GNU compiler, for Sun SPARC. 2*c87b03e5Sespie Copyright (C) 2002 Free Software Foundation, Inc. 3*c87b03e5Sespie Contributed by Michael Tiemann (tiemann@cygnus.com). 4*c87b03e5Sespie 64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans, 5*c87b03e5Sespie at Cygnus Support. 6*c87b03e5Sespie 7*c87b03e5SespieThis file is part of GNU CC. 8*c87b03e5Sespie 9*c87b03e5SespieGNU CC is free software; you can redistribute it and/or modify 10*c87b03e5Sespieit under the terms of the GNU General Public License as published by 11*c87b03e5Sespiethe Free Software Foundation; either version 2, or (at your option) 12*c87b03e5Sespieany later version. 13*c87b03e5Sespie 14*c87b03e5SespieGNU CC is distributed in the hope that it will be useful, 15*c87b03e5Sespiebut WITHOUT ANY WARRANTY; without even the implied warranty of 16*c87b03e5SespieMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*c87b03e5SespieGNU General Public License for more details. 18*c87b03e5Sespie 19*c87b03e5SespieYou should have received a copy of the GNU General Public License 20*c87b03e5Sespiealong with GNU CC; see the file COPYING. If not, write to 21*c87b03e5Sespiethe Free Software Foundation, 59 Temple Place - Suite 330, 22*c87b03e5SespieBoston, MA 02111-1307, USA. */ 23*c87b03e5Sespie 24*c87b03e5Sespie/* Add any extra modes needed to represent the condition code. 25*c87b03e5Sespie 26*c87b03e5Sespie On the SPARC, we have a "no-overflow" mode which is used when an add or 27*c87b03e5Sespie subtract insn is used to set the condition code. Different branches are 28*c87b03e5Sespie used in this case for some operations. 29*c87b03e5Sespie 30*c87b03e5Sespie We also have two modes to indicate that the relevant condition code is 31*c87b03e5Sespie in the floating-point condition code register. One for comparisons which 32*c87b03e5Sespie will generate an exception if the result is unordered (CCFPEmode) and 33*c87b03e5Sespie one for comparisons which will never trap (CCFPmode). 34*c87b03e5Sespie 35*c87b03e5Sespie CCXmode and CCX_NOOVmode are only used by v9. */ 36*c87b03e5Sespie 37*c87b03e5SespieCC (CCX) 38*c87b03e5SespieCC (CC_NOOV) 39*c87b03e5SespieCC (CCX_NOOV) 40*c87b03e5SespieCC (CCFP) 41*c87b03e5SespieCC (CCFPE) 42*c87b03e5Sespie 43