mips-modes.def revision 169689
1145256Sjkoshy/* MIPS extra machine modes. 
2183266Sjkoshy   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
3174395Sjkoshy
4145256SjkoshyThis file is part of GCC.
5145256Sjkoshy
6174395SjkoshyGCC is free software; you can redistribute it and/or modify
7174395Sjkoshyit under the terms of the GNU General Public License as published by
8174395Sjkoshythe Free Software Foundation; either version 2, or (at your option)
9145256Sjkoshyany later version.
10145256Sjkoshy
11145256SjkoshyGCC is distributed in the hope that it will be useful,
12145256Sjkoshybut WITHOUT ANY WARRANTY; without even the implied warranty of
13145256SjkoshyMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14145256SjkoshyGNU General Public License for more details.
15145256Sjkoshy
16145256SjkoshyYou should have received a copy of the GNU General Public License
17145256Sjkoshyalong with GCC; see the file COPYING.  If not, write to
18145256Sjkoshythe Free Software Foundation, 51 Franklin Street, Fifth Floor,
19145256SjkoshyBoston, MA 02110-1301, USA.  */
20145256Sjkoshy
21145256Sjkoshy/* MIPS has a quirky almost-IEEE format for all its
22145256Sjkoshy   floating point.  */
23145256SjkoshyRESET_FLOAT_FORMAT (SF, mips_single_format);
24145256SjkoshyRESET_FLOAT_FORMAT (DF, mips_double_format);
25145256Sjkoshy
26145256Sjkoshy/* Irix6 will override this via MIPS_TFMODE_FORMAT.  */
27145256SjkoshyFLOAT_MODE (TF, 16, mips_quad_format);
28145256Sjkoshy
29145256Sjkoshy/* Vector modes.  */
30145256SjkoshyVECTOR_MODES (FLOAT, 8);      /*            V4HF V2SF */
31145256SjkoshyVECTOR_MODES (INT, 4);        /*            V4QI V2HI */
32145256Sjkoshy
33145256Sjkoshy/* Paired single comparison instructions use 2 or 4 CC.  */
34145256SjkoshyCC_MODE (CCV2);
35145256SjkoshyADJUST_BYTESIZE (CCV2, 8);
36145256SjkoshyADJUST_ALIGNMENT (CCV2, 8);
37145256Sjkoshy
38145256SjkoshyCC_MODE (CCV4);
39147191SjkoshyADJUST_BYTESIZE (CCV4, 16);
40145256SjkoshyADJUST_ALIGNMENT (CCV4, 16);
41145256Sjkoshy
42145256Sjkoshy/* For MIPS DSP control registers.  */
43145256SjkoshyCC_MODE (CCDSP);
44201151Sjkoshy