Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/arm/arm-modes.def @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
rev | line source |
---|---|
0 | 1 /* Definitions of target machine for GNU compiler, for ARM. |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
2 Copyright (C) 2002, 2004, 2007, 2010 Free Software Foundation, Inc. |
0 | 3 Contributed by Pieter `Tiggr' Schoenmakers (rcpieter@win.tue.nl) |
4 and Martin Simmons (@harleqn.co.uk). | |
5 More major hacks by Richard Earnshaw (rearnsha@arm.com) | |
6 Minor hacks by Nick Clifton (nickc@cygnus.com) | |
7 | |
8 This file is part of GCC. | |
9 | |
10 GCC is free software; you can redistribute it and/or modify it | |
11 under the terms of the GNU General Public License as published | |
12 by the Free Software Foundation; either version 3, or (at your | |
13 option) any later version. | |
14 | |
15 GCC is distributed in the hope that it will be useful, but WITHOUT | |
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
17 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
18 License for more details. | |
19 | |
20 You should have received a copy of the GNU General Public License | |
21 along with GCC; see the file COPYING3. If not see | |
22 <http://www.gnu.org/licenses/>. */ | |
23 | |
24 /* Extended precision floating point. | |
25 FIXME What format is this? */ | |
26 FLOAT_MODE (XF, 12, 0); | |
27 | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
28 /* Half-precision floating point */ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
29 FLOAT_MODE (HF, 2, 0); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
30 ADJUST_FLOAT_FORMAT (HF, ((arm_fp16_format == ARM_FP16_FORMAT_ALTERNATIVE) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
31 ? &arm_half_format : &ieee_half_format)); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
32 |
0 | 33 /* CCFPEmode should be used with floating inequalities, |
34 CCFPmode should be used with floating equalities. | |
35 CC_NOOVmode should be used with SImode integer equalities. | |
36 CC_Zmode should be used if only the Z flag is set correctly | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
37 CC_Cmode should be used if only the C flag is set correctly, after an |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
38 addition. |
0 | 39 CC_Nmode should be used if only the N (sign) flag is set correctly |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
40 CC_CZmode should be used if only the C and Z flags are correct |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
41 (used for DImode unsigned comparisons). |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
42 CC_NCVmode should be used if only the N, C, and V flags are correct |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
43 (used for DImode signed comparisons). |
0 | 44 CCmode should be used otherwise. */ |
45 | |
46 CC_MODE (CC_NOOV); | |
47 CC_MODE (CC_Z); | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
48 CC_MODE (CC_CZ); |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
49 CC_MODE (CC_NCV); |
0 | 50 CC_MODE (CC_SWP); |
51 CC_MODE (CCFP); | |
52 CC_MODE (CCFPE); | |
53 CC_MODE (CC_DNE); | |
54 CC_MODE (CC_DEQ); | |
55 CC_MODE (CC_DLE); | |
56 CC_MODE (CC_DLT); | |
57 CC_MODE (CC_DGE); | |
58 CC_MODE (CC_DGT); | |
59 CC_MODE (CC_DLEU); | |
60 CC_MODE (CC_DLTU); | |
61 CC_MODE (CC_DGEU); | |
62 CC_MODE (CC_DGTU); | |
63 CC_MODE (CC_C); | |
64 CC_MODE (CC_N); | |
65 | |
66 /* Vector modes. */ | |
67 VECTOR_MODES (INT, 4); /* V4QI V2HI */ | |
68 VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */ | |
69 VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */ | |
70 VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */ | |
71 VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF */ | |
72 | |
73 /* Opaque integer modes for 3, 4, 6 or 8 Neon double registers (2 is | |
74 TImode). */ | |
75 INT_MODE (EI, 24); | |
76 INT_MODE (OI, 32); | |
77 INT_MODE (CI, 48); | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
78 INT_MODE (XI, 64); |