Update FSF address.
[official-gcc.git] / gcc / config / sparc / sparc-modes.def
blob5687a44c889b51ec9a5080db17df4f635d06e364
1 /* Definitions of target machine for GCC, for Sun SPARC.
2 Copyright (C) 2002, 2004 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.
7 This file is part of GCC.
9 GCC 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.
14 GCC 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.
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING. If not, write to
21 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA. */
24 /* 128-bit floating point */
25 FLOAT_MODE (TF, 16, ieee_quad_format);
27 /* Add any extra modes needed to represent the condition code.
29 On the SPARC, we have a "no-overflow" mode which is used when an add or
30 subtract insn is used to set the condition code. Different branches are
31 used in this case for some operations.
33 We also have two modes to indicate that the relevant condition code is
34 in the floating-point condition code register. One for comparisons which
35 will generate an exception if the result is unordered (CCFPEmode) and
36 one for comparisons which will never trap (CCFPmode).
38 CCXmode and CCX_NOOVmode are only used by v9. */
40 CC_MODE (CCX);
41 CC_MODE (CC_NOOV);
42 CC_MODE (CCX_NOOV);
43 CC_MODE (CCFP);
44 CC_MODE (CCFPE);
46 /* Vector modes. */
47 VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */
48 VECTOR_MODES (INT, 4); /* V4QI V2HI */