OSDN Git Service

* Makefile.in (BUILD_RTL): Replace $(BUILD_PREFIX)insn-modes.o
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / i386-modes.def
1 /* Definitions of target machine for GCC for IA-32.
2    Copyright (C) 2002 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* By default our XFmode is the 80-bit extended format.  If we use
22    TFmode instead, it's also the 80-bit format, but with padding. */
23
24 FLOAT_MODE (XF, 12, ieee_extended_intel_96_format);
25 FLOAT_MODE (TF, 16, ieee_extended_intel_128_format);
26
27 /* Add any extra modes needed to represent the condition code.
28
29    For the i386, we need separate modes when floating-point
30    equality comparisons are being done.
31
32    Add CCNO to indicate comparisons against zero that requires
33    Overflow flag to be unset.  Sign bit test is used instead and
34    thus can be used to form "a&b>0" type of tests.
35
36    Add CCGC to indicate comparisons against zero that allows
37    unspecified garbage in the Carry flag.  This mode is used
38    by inc/dec instructions.
39
40    Add CCGOC to indicate comparisons against zero that allows
41    unspecified garbage in the Carry and Overflow flag. This
42    mode is used to simulate comparisons of (a-b) and (a+b)
43    against zero using sub/cmp/add operations.
44
45    Add CCZ to indicate that only the Zero flag is valid.  */
46
47 CC_MODE (CCGC);
48 CC_MODE (CCGOC);
49 CC_MODE (CCNO);
50 CC_MODE (CCZ);
51 CC_MODE (CCFP);
52 CC_MODE (CCFPU);