1/* Definitions of target machine for GNU compiler, for ARM. 2 Copyright (C) 2002, 2004, 2007 Free Software Foundation, Inc. 3 Contributed by Pieter `Tiggr' Schoenmakers (rcpieter@win.tue.nl) 4 and Martin Simmons (@harleqn.co.uk). 5 More major hacks by Richard Earnshaw (rearnsha@arm.com) 6 Minor hacks by Nick Clifton (nickc@cygnus.com) 7 8 This file is part of GCC. 9 10 GCC is free software; you can redistribute it and/or modify it 11 under the terms of the GNU General Public License as published 12 by the Free Software Foundation; either version 3, or (at your 13 option) any later version. 14 15 GCC is distributed in the hope that it will be useful, but WITHOUT 16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 17 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 18 License for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with GCC; see the file COPYING3. If not see 22 <http://www.gnu.org/licenses/>. */ 23 24/* Extended precision floating point. 25 FIXME What format is this? */ 26FLOAT_MODE (XF, 12, 0); 27 28/* Half-precision floating point */ 29FLOAT_MODE (HF, 2, 0); 30ADJUST_FLOAT_FORMAT (HF, ((arm_fp16_format == ARM_FP16_FORMAT_ALTERNATIVE) 31 ? &arm_half_format : &ieee_half_format)); 32 33/* CCFPEmode should be used with floating inequalities, 34 CCFPmode should be used with floating equalities. 35 CC_NOOVmode should be used with SImode integer equalities. 36 CC_Zmode should be used if only the Z flag is set correctly 37 CC_Nmode should be used if only the N (sign) flag is set correctly 38 CCmode should be used otherwise. */ 39 40CC_MODE (CC_NOOV); 41CC_MODE (CC_Z); 42CC_MODE (CC_SWP); 43CC_MODE (CCFP); 44CC_MODE (CCFPE); 45CC_MODE (CC_DNE); 46CC_MODE (CC_DEQ); 47CC_MODE (CC_DLE); 48CC_MODE (CC_DLT); 49CC_MODE (CC_DGE); 50CC_MODE (CC_DGT); 51CC_MODE (CC_DLEU); 52CC_MODE (CC_DLTU); 53CC_MODE (CC_DGEU); 54CC_MODE (CC_DGTU); 55CC_MODE (CC_C); 56CC_MODE (CC_N); 57 58/* Vector modes. */ 59VECTOR_MODES (INT, 4); /* V4QI V2HI */ 60VECTOR_MODES (INT, 8); /* V8QI V4HI V2SI */ 61VECTOR_MODES (INT, 16); /* V16QI V8HI V4SI V2DI */ 62VECTOR_MODES (FLOAT, 8); /* V4HF V2SF */ 63VECTOR_MODES (FLOAT, 16); /* V8HF V4SF V2DF */ 64 65/* Opaque integer modes for 3, 4, 6 or 8 Neon double registers (2 is 66 TImode). */ 67INT_MODE (EI, 24); 68INT_MODE (OI, 32); 69INT_MODE (CI, 48); 70INT_MODE (XI, 64); 71