mips-modes.def revision 169689
1169689Skan/* MIPS extra machine modes. 2169689Skan Copyright (C) 2003, 2004 Free Software Foundation, Inc. 3169689Skan 4169689SkanThis file is part of GCC. 5169689Skan 6169689SkanGCC is free software; you can redistribute it and/or modify 7169689Skanit under the terms of the GNU General Public License as published by 8169689Skanthe Free Software Foundation; either version 2, or (at your option) 9169689Skanany later version. 10169689Skan 11169689SkanGCC is distributed in the hope that it will be useful, 12169689Skanbut WITHOUT ANY WARRANTY; without even the implied warranty of 13169689SkanMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14169689SkanGNU General Public License for more details. 15169689Skan 16169689SkanYou should have received a copy of the GNU General Public License 17169689Skanalong with GCC; see the file COPYING. If not, write to 18169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 19169689SkanBoston, MA 02110-1301, USA. */ 20169689Skan 21169689Skan/* MIPS has a quirky almost-IEEE format for all its 22169689Skan floating point. */ 23169689SkanRESET_FLOAT_FORMAT (SF, mips_single_format); 24169689SkanRESET_FLOAT_FORMAT (DF, mips_double_format); 25169689Skan 26169689Skan/* Irix6 will override this via MIPS_TFMODE_FORMAT. */ 27169689SkanFLOAT_MODE (TF, 16, mips_quad_format); 28169689Skan 29169689Skan/* Vector modes. */ 30169689SkanVECTOR_MODES (FLOAT, 8); /* V4HF V2SF */ 31169689SkanVECTOR_MODES (INT, 4); /* V4QI V2HI */ 32169689Skan 33169689Skan/* Paired single comparison instructions use 2 or 4 CC. */ 34169689SkanCC_MODE (CCV2); 35169689SkanADJUST_BYTESIZE (CCV2, 8); 36169689SkanADJUST_ALIGNMENT (CCV2, 8); 37169689Skan 38169689SkanCC_MODE (CCV4); 39169689SkanADJUST_BYTESIZE (CCV4, 16); 40169689SkanADJUST_ALIGNMENT (CCV4, 16); 41169689Skan 42169689Skan/* For MIPS DSP control registers. */ 43169689SkanCC_MODE (CCDSP); 44