1 /* Definitions of target machine for GCC for IA
-32.
2 Copyright (C
) 2002, 2004, 2005 Free Software Foundation
, Inc.
4 This file is part of GCC.
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
)
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.
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
, 51 Franklin Street
, Fifth Floor
,
19 Boston
, MA
02110-1301, USA.
*/
21 /* The x86_64 ABI specifies both XF and TF modes.
22 XFmode is __float80 is IEEE extended
; TFmode is __float128
25 FRACTIONAL_FLOAT_MODE (XF
, 80, 12, ieee_extended_intel_96_format
);
26 FLOAT_MODE (TF
, 16, ieee_quad_format
);
28 /* In ILP32 mode
, XFmode has size
12 and alignment
4.
29 In LP64 mode
, XFmode has size and alignment
16.
*/
30 ADJUST_FLOAT_FORMAT (XF
, (TARGET_128BIT_LONG_DOUBLE
31 ?
&ieee_extended_intel_128_format
32 : TARGET_96_ROUND_53_LONG_DOUBLE
33 ?
&ieee_extended_intel_96_round_53_format
34 : &ieee_extended_intel_96_format
));
35 ADJUST_BYTESIZE (XF
, TARGET_128BIT_LONG_DOUBLE ?
16 : 12);
36 ADJUST_ALIGNMENT (XF
, TARGET_128BIT_LONG_DOUBLE ?
16 : 4);
38 /* Add any extra modes needed to represent the condition code.
40 For the i386
, we need separate modes when floating
-point
41 equality comparisons are being done.
43 Add CCNO to indicate comparisons against zero that requires
44 Overflow flag to be unset. Sign bit test is used instead and
45 thus can be used to form
"a&b>0" type of tests.
47 Add CCGC to indicate comparisons against zero that allows
48 unspecified garbage in the Carry flag. This mode is used
49 by inc
/dec instructions.
51 Add CCGOC to indicate comparisons against zero that allows
52 unspecified garbage in the Carry and Overflow flag. This
53 mode is used to simulate comparisons
of (a
-b
) and (a
+b
)
54 against zero using sub
/cmp
/add operations.
56 Add CCZ to indicate that only the Zero flag is valid.
*/
66 VECTOR_MODES (INT
, 4); /* V4QI V2HI
*/
67 VECTOR_MODES (INT
, 8); /* V8QI V4HI V2SI
*/
68 VECTOR_MODES (INT
, 16); /* V16QI V8HI V4SI V2DI
*/
69 VECTOR_MODES (FLOAT, 8); /* V4HF V2SF
*/
70 VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF
*/
71 VECTOR_MODE (INT
, DI
, 4); /* V4DI
*/
72 VECTOR_MODE (INT
, SI
, 8); /* V8SI
*/
73 VECTOR_MODE (INT
, HI
, 16); /* V16HI
*/
74 VECTOR_MODE (INT
, QI
, 32); /* V32QI
*/
75 VECTOR_MODE (FLOAT, DF
, 4); /* V4DF
*/
76 VECTOR_MODE (FLOAT, SF
, 8); /* V8SF
*/
78 /* The symbol Pmode stands for one of the above machine
modes (usually SImode
).
79 The tm.h file specifies which one. It is not a distinct mode.
*/