1/* MIPS extra machine modes. 2 Copyright (C) 2003-2015 Free Software Foundation, Inc. 3 4This file is part of GCC. 5 6GCC is free software; you can redistribute it and/or modify 7it under the terms of the GNU General Public License as published by 8the Free Software Foundation; either version 3, or (at your option) 9any later version. 10 11GCC is distributed in the hope that it will be useful, 12but WITHOUT ANY WARRANTY; without even the implied warranty of 13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14GNU General Public License for more details. 15 16You should have received a copy of the GNU General Public License 17along with GCC; see the file COPYING3. If not see 18<http://www.gnu.org/licenses/>. */ 19 20FLOAT_MODE (TF, 16, ieee_quad_format); 21 22/* Vector modes. */ 23VECTOR_MODES (INT, 4); /* V4QI V2HI */ 24VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */ 25VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */ 26 27/* Double-sized vector modes for vec_concat. */ 28VECTOR_MODE (INT, QI, 16); /* V16QI */ 29VECTOR_MODE (INT, HI, 8); /* V8HI */ 30VECTOR_MODE (INT, SI, 4); /* V4SI */ 31VECTOR_MODE (FLOAT, SF, 4); /* V4SF */ 32 33VECTOR_MODES (FRACT, 4); /* V4QQ V2HQ */ 34VECTOR_MODES (UFRACT, 4); /* V4UQQ V2UHQ */ 35VECTOR_MODES (ACCUM, 4); /* V2HA */ 36VECTOR_MODES (UACCUM, 4); /* V2UHA */ 37 38/* Paired single comparison instructions use 2 or 4 CC. */ 39CC_MODE (CCV2); 40ADJUST_BYTESIZE (CCV2, 8); 41ADJUST_ALIGNMENT (CCV2, 8); 42 43CC_MODE (CCV4); 44ADJUST_BYTESIZE (CCV4, 16); 45ADJUST_ALIGNMENT (CCV4, 16); 46 47/* For MIPS DSP control registers. */ 48CC_MODE (CCDSP); 49 50/* For floating point conditions in FP registers. */ 51CC_MODE (CCF); 52