]>
Commit | Line | Data |
---|---|---|
9d234535 | 1 | /* Definitions of target machine for GCC, for Sun SPARC. |
f1717362 | 2 | Copyright (C) 2002-2016 Free Software Foundation, Inc. |
6f432b58 | 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 | ||
9d234535 | 7 | This file is part of GCC. |
6f432b58 | 8 | |
9d234535 | 9 | GCC is free software; you can redistribute it and/or modify |
6f432b58 | 10 | it under the terms of the GNU General Public License as published by |
038d1e19 | 11 | the Free Software Foundation; either version 3, or (at your option) |
6f432b58 | 12 | any later version. |
13 | ||
9d234535 | 14 | GCC is distributed in the hope that it will be useful, |
6f432b58 | 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 | |
038d1e19 | 20 | along with GCC; see the file COPYING3. If not see |
21 | <http://www.gnu.org/licenses/>. */ | |
6f432b58 | 22 | |
15460c97 | 23 | /* 128-bit floating point */ |
24 | FLOAT_MODE (TF, 16, ieee_quad_format); | |
25 | ||
6f432b58 | 26 | /* Add any extra modes needed to represent the condition code. |
27 | ||
f25a48be | 28 | On the SPARC, we have a "no-overflow" mode which is used when an add or |
6f432b58 | 29 | subtract insn is used to set the condition code. Different branches are |
30 | used in this case for some operations. | |
31 | ||
32 | We also have two modes to indicate that the relevant condition code is | |
33 | in the floating-point condition code register. One for comparisons which | |
34 | will generate an exception if the result is unordered (CCFPEmode) and | |
35 | one for comparisons which will never trap (CCFPmode). | |
36 | ||
37 | CCXmode and CCX_NOOVmode are only used by v9. */ | |
38 | ||
15460c97 | 39 | CC_MODE (CCX); |
40 | CC_MODE (CC_NOOV); | |
41 | CC_MODE (CCX_NOOV); | |
42 | CC_MODE (CCFP); | |
43 | CC_MODE (CCFPE); | |
14935712 | 44 | |
45 | /* Vector modes. */ | |
33e7b55c | 46 | VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */ |
14935712 | 47 | VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */ |
bc963728 | 48 | VECTOR_MODES (INT, 4); /* V4QI V2HI */ |
49 | VECTOR_MODE (INT, DI, 1); /* V1DI */ | |
50 | VECTOR_MODE (INT, SI, 1); /* V1SI */ |