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