]>
Commit | Line | Data |
---|---|---|
94134f42 | 1 | /* MIPS extra machine modes. |
23a5b65a | 2 | Copyright (C) 2003-2014 Free Software Foundation, Inc. |
94134f42 ZW |
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 | |
2f83c7d6 | 8 | the Free Software Foundation; either version 3, or (at your option) |
94134f42 ZW |
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 | |
2f83c7d6 NC |
17 | along with GCC; see the file COPYING3. If not see |
18 | <http://www.gnu.org/licenses/>. */ | |
94134f42 | 19 | |
ff3f3951 | 20 | FLOAT_MODE (TF, 16, ieee_quad_format); |
06a4ab70 CF |
21 | |
22 | /* Vector modes. */ | |
7dab511c RH |
23 | VECTOR_MODES (INT, 4); /* V4QI V2HI */ |
24 | VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */ | |
25 | VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */ | |
26 | ||
27 | /* Double-sized vector modes for vec_concat. */ | |
28 | VECTOR_MODE (INT, QI, 16); /* V16QI */ | |
29 | VECTOR_MODE (INT, HI, 8); /* V8HI */ | |
30 | VECTOR_MODE (INT, SI, 4); /* V4SI */ | |
31 | VECTOR_MODE (FLOAT, SF, 4); /* V4SF */ | |
06a4ab70 | 32 | |
9fc777ad CF |
33 | VECTOR_MODES (FRACT, 4); /* V4QQ V2HQ */ |
34 | VECTOR_MODES (UFRACT, 4); /* V4UQQ V2UHQ */ | |
35 | VECTOR_MODES (ACCUM, 4); /* V2HA */ | |
36 | VECTOR_MODES (UACCUM, 4); /* V2UHA */ | |
37 | ||
06a4ab70 CF |
38 | /* Paired single comparison instructions use 2 or 4 CC. */ |
39 | CC_MODE (CCV2); | |
40 | ADJUST_BYTESIZE (CCV2, 8); | |
41 | ADJUST_ALIGNMENT (CCV2, 8); | |
42 | ||
43 | CC_MODE (CCV4); | |
44 | ADJUST_BYTESIZE (CCV4, 16); | |
45 | ADJUST_ALIGNMENT (CCV4, 16); | |
118ea793 CF |
46 | |
47 | /* For MIPS DSP control registers. */ | |
48 | CC_MODE (CCDSP); |