/* Generated automatically from machmode.def and config/s390/s390-modes.def
   by genmodes.  */

#ifndef GCC_INSN_MODES_H
#define GCC_INSN_MODES_H

enum machine_mode
{
  VOIDmode,                /* machmode.def:172 */
#define HAVE_VOIDmode
  BLKmode,                 /* machmode.def:176 */
#define HAVE_BLKmode
  CCmode,                  /* machmode.def:214 */
#define HAVE_CCmode
  CCZmode,                 /* config/s390/s390-modes.def:202 */
#define HAVE_CCZmode
  CCZ1mode,                /* config/s390/s390-modes.def:203 */
#define HAVE_CCZ1mode
  CCAmode,                 /* config/s390/s390-modes.def:204 */
#define HAVE_CCAmode
  CCAPmode,                /* config/s390/s390-modes.def:205 */
#define HAVE_CCAPmode
  CCANmode,                /* config/s390/s390-modes.def:206 */
#define HAVE_CCANmode
  CCLmode,                 /* config/s390/s390-modes.def:207 */
#define HAVE_CCLmode
  CCL1mode,                /* config/s390/s390-modes.def:208 */
#define HAVE_CCL1mode
  CCL2mode,                /* config/s390/s390-modes.def:209 */
#define HAVE_CCL2mode
  CCL3mode,                /* config/s390/s390-modes.def:210 */
#define HAVE_CCL3mode
  CCUmode,                 /* config/s390/s390-modes.def:211 */
#define HAVE_CCUmode
  CCURmode,                /* config/s390/s390-modes.def:212 */
#define HAVE_CCURmode
  CCSmode,                 /* config/s390/s390-modes.def:213 */
#define HAVE_CCSmode
  CCSRmode,                /* config/s390/s390-modes.def:214 */
#define HAVE_CCSRmode
  CCTmode,                 /* config/s390/s390-modes.def:215 */
#define HAVE_CCTmode
  CCT1mode,                /* config/s390/s390-modes.def:216 */
#define HAVE_CCT1mode
  CCT2mode,                /* config/s390/s390-modes.def:217 */
#define HAVE_CCT2mode
  CCT3mode,                /* config/s390/s390-modes.def:218 */
#define HAVE_CCT3mode
  CCRAWmode,               /* config/s390/s390-modes.def:219 */
#define HAVE_CCRAWmode
  CCVEQmode,               /* config/s390/s390-modes.def:221 */
#define HAVE_CCVEQmode
  CCVIHmode,               /* config/s390/s390-modes.def:223 */
#define HAVE_CCVIHmode
  CCVIHUmode,              /* config/s390/s390-modes.def:224 */
#define HAVE_CCVIHUmode
  CCVFHmode,               /* config/s390/s390-modes.def:226 */
#define HAVE_CCVFHmode
  CCVFHEmode,              /* config/s390/s390-modes.def:227 */
#define HAVE_CCVFHEmode
  CCVIALLmode,             /* config/s390/s390-modes.def:229 */
#define HAVE_CCVIALLmode
  CCVIANYmode,             /* config/s390/s390-modes.def:230 */
#define HAVE_CCVIANYmode
  CCVFALLmode,             /* config/s390/s390-modes.def:232 */
#define HAVE_CCVFALLmode
  CCVFANYmode,             /* config/s390/s390-modes.def:233 */
#define HAVE_CCVFANYmode
  BImode,                  /* machmode.def:179 */
#define HAVE_BImode
  QImode,                  /* machmode.def:187 */
#define HAVE_QImode
  HImode,                  /* machmode.def:188 */
#define HAVE_HImode
  SImode,                  /* machmode.def:189 */
#define HAVE_SImode
  DImode,                  /* machmode.def:190 */
#define HAVE_DImode
  TImode,                  /* machmode.def:191 */
#define HAVE_TImode
  OImode,                  /* config/s390/s390-modes.def:23 */
#define HAVE_OImode
  QQmode,                  /* machmode.def:217 */
#define HAVE_QQmode
  HQmode,                  /* machmode.def:218 */
#define HAVE_HQmode
  SQmode,                  /* machmode.def:219 */
#define HAVE_SQmode
  DQmode,                  /* machmode.def:220 */
#define HAVE_DQmode
  TQmode,                  /* machmode.def:221 */
#define HAVE_TQmode
  UQQmode,                 /* machmode.def:223 */
#define HAVE_UQQmode
  UHQmode,                 /* machmode.def:224 */
#define HAVE_UHQmode
  USQmode,                 /* machmode.def:225 */
#define HAVE_USQmode
  UDQmode,                 /* machmode.def:226 */
#define HAVE_UDQmode
  UTQmode,                 /* machmode.def:227 */
#define HAVE_UTQmode
  HAmode,                  /* machmode.def:229 */
#define HAVE_HAmode
  SAmode,                  /* machmode.def:230 */
#define HAVE_SAmode
  DAmode,                  /* machmode.def:231 */
#define HAVE_DAmode
  TAmode,                  /* machmode.def:232 */
#define HAVE_TAmode
  UHAmode,                 /* machmode.def:234 */
#define HAVE_UHAmode
  USAmode,                 /* machmode.def:235 */
#define HAVE_USAmode
  UDAmode,                 /* machmode.def:236 */
#define HAVE_UDAmode
  UTAmode,                 /* machmode.def:237 */
#define HAVE_UTAmode
  SFmode,                  /* machmode.def:209 */
#define HAVE_SFmode
  DFmode,                  /* machmode.def:210 */
#define HAVE_DFmode
  TFmode,                  /* config/s390/s390-modes.def:26 */
#define HAVE_TFmode
  SDmode,                  /* machmode.def:249 */
#define HAVE_SDmode
  DDmode,                  /* machmode.def:250 */
#define HAVE_DDmode
  TDmode,                  /* machmode.def:251 */
#define HAVE_TDmode
  CQImode,                 /* machmode.def:245 */
#define HAVE_CQImode
  CHImode,                 /* machmode.def:245 */
#define HAVE_CHImode
  CSImode,                 /* machmode.def:245 */
#define HAVE_CSImode
  CDImode,                 /* machmode.def:245 */
#define HAVE_CDImode
  CTImode,                 /* machmode.def:245 */
#define HAVE_CTImode
  COImode,                 /* machmode.def:245 */
#define HAVE_COImode
  SCmode,                  /* machmode.def:246 */
#define HAVE_SCmode
  DCmode,                  /* machmode.def:246 */
#define HAVE_DCmode
  TCmode,                  /* machmode.def:246 */
#define HAVE_TCmode
  V1QImode,                /* config/s390/s390-modes.def:246 */
#define HAVE_V1QImode
  V2QImode,                /* config/s390/s390-modes.def:237 */
#define HAVE_V2QImode
  V1HImode,                /* config/s390/s390-modes.def:247 */
#define HAVE_V1HImode
  V4QImode,                /* config/s390/s390-modes.def:238 */
#define HAVE_V4QImode
  V2HImode,                /* config/s390/s390-modes.def:238 */
#define HAVE_V2HImode
  V1SImode,                /* config/s390/s390-modes.def:248 */
#define HAVE_V1SImode
  V8QImode,                /* config/s390/s390-modes.def:239 */
#define HAVE_V8QImode
  V4HImode,                /* config/s390/s390-modes.def:239 */
#define HAVE_V4HImode
  V2SImode,                /* config/s390/s390-modes.def:239 */
#define HAVE_V2SImode
  V1DImode,                /* config/s390/s390-modes.def:249 */
#define HAVE_V1DImode
  V16QImode,               /* config/s390/s390-modes.def:240 */
#define HAVE_V16QImode
  V8HImode,                /* config/s390/s390-modes.def:240 */
#define HAVE_V8HImode
  V4SImode,                /* config/s390/s390-modes.def:240 */
#define HAVE_V4SImode
  V2DImode,                /* config/s390/s390-modes.def:240 */
#define HAVE_V2DImode
  V1TImode,                /* config/s390/s390-modes.def:250 */
#define HAVE_V1TImode
  V1SFmode,                /* config/s390/s390-modes.def:252 */
#define HAVE_V1SFmode
  V2SFmode,                /* config/s390/s390-modes.def:242 */
#define HAVE_V2SFmode
  V1DFmode,                /* config/s390/s390-modes.def:253 */
#define HAVE_V1DFmode
  V4SFmode,                /* config/s390/s390-modes.def:243 */
#define HAVE_V4SFmode
  V2DFmode,                /* config/s390/s390-modes.def:244 */
#define HAVE_V2DFmode
  V1TFmode,                /* config/s390/s390-modes.def:254 */
#define HAVE_V1TFmode
  MAX_MACHINE_MODE,

  MIN_MODE_RANDOM = VOIDmode,
  MAX_MODE_RANDOM = BLKmode,

  MIN_MODE_CC = CCmode,
  MAX_MODE_CC = CCVFANYmode,

  MIN_MODE_INT = QImode,
  MAX_MODE_INT = OImode,

  MIN_MODE_PARTIAL_INT = VOIDmode,
  MAX_MODE_PARTIAL_INT = VOIDmode,

  MIN_MODE_POINTER_BOUNDS = VOIDmode,
  MAX_MODE_POINTER_BOUNDS = VOIDmode,

  MIN_MODE_FRACT = QQmode,
  MAX_MODE_FRACT = TQmode,

  MIN_MODE_UFRACT = UQQmode,
  MAX_MODE_UFRACT = UTQmode,

  MIN_MODE_ACCUM = HAmode,
  MAX_MODE_ACCUM = TAmode,

  MIN_MODE_UACCUM = UHAmode,
  MAX_MODE_UACCUM = UTAmode,

  MIN_MODE_FLOAT = SFmode,
  MAX_MODE_FLOAT = TFmode,

  MIN_MODE_DECIMAL_FLOAT = SDmode,
  MAX_MODE_DECIMAL_FLOAT = TDmode,

  MIN_MODE_COMPLEX_INT = CQImode,
  MAX_MODE_COMPLEX_INT = COImode,

  MIN_MODE_COMPLEX_FLOAT = SCmode,
  MAX_MODE_COMPLEX_FLOAT = TCmode,

  MIN_MODE_VECTOR_INT = V1QImode,
  MAX_MODE_VECTOR_INT = V1TImode,

  MIN_MODE_VECTOR_FRACT = VOIDmode,
  MAX_MODE_VECTOR_FRACT = VOIDmode,

  MIN_MODE_VECTOR_UFRACT = VOIDmode,
  MAX_MODE_VECTOR_UFRACT = VOIDmode,

  MIN_MODE_VECTOR_ACCUM = VOIDmode,
  MAX_MODE_VECTOR_ACCUM = VOIDmode,

  MIN_MODE_VECTOR_UACCUM = VOIDmode,
  MAX_MODE_VECTOR_UACCUM = VOIDmode,

  MIN_MODE_VECTOR_FLOAT = V1SFmode,
  MAX_MODE_VECTOR_FLOAT = V1TFmode,

  NUM_MACHINE_MODES = MAX_MACHINE_MODE
};

#define CONST_MODE_SIZE const
#define CONST_MODE_UNIT_SIZE const
#define CONST_MODE_BASE_ALIGN const
#define CONST_MODE_IBIT const
#define CONST_MODE_FBIT const

#define BITS_PER_UNIT (8)
#define MAX_BITSIZE_MODE_ANY_INT (32*BITS_PER_UNIT)
#define MAX_BITSIZE_MODE_ANY_MODE (64*BITS_PER_UNIT)
#define NUM_INT_N_ENTS 1

#if !defined (USED_FOR_TARGET) && GCC_VERSION >= 4001

#ifdef __cplusplus
inline __attribute__((__always_inline__))
#else
extern __inline__ __attribute__((__always_inline__, __gnu_inline__))
#endif
unsigned char
mode_size_inline (machine_mode mode)
{
  extern const unsigned char mode_size[NUM_MACHINE_MODES];
  switch (mode)
    {
    case VOIDmode: return 0;
    case BLKmode: return 0;
    case CCmode: return 4;
    case CCZmode: return 4;
    case CCZ1mode: return 4;
    case CCAmode: return 4;
    case CCAPmode: return 4;
    case CCANmode: return 4;
    case CCLmode: return 4;
    case CCL1mode: return 4;
    case CCL2mode: return 4;
    case CCL3mode: return 4;
    case CCUmode: return 4;
    case CCURmode: return 4;
    case CCSmode: return 4;
    case CCSRmode: return 4;
    case CCTmode: return 4;
    case CCT1mode: return 4;
    case CCT2mode: return 4;
    case CCT3mode: return 4;
    case CCRAWmode: return 4;
    case CCVEQmode: return 4;
    case CCVIHmode: return 4;
    case CCVIHUmode: return 4;
    case CCVFHmode: return 4;
    case CCVFHEmode: return 4;
    case CCVIALLmode: return 4;
    case CCVIANYmode: return 4;
    case CCVFALLmode: return 4;
    case CCVFANYmode: return 4;
    case BImode: return 1;
    case QImode: return 1;
    case HImode: return 2;
    case SImode: return 4;
    case DImode: return 8;
    case TImode: return 16;
    case OImode: return 32;
    case QQmode: return 1;
    case HQmode: return 2;
    case SQmode: return 4;
    case DQmode: return 8;
    case TQmode: return 16;
    case UQQmode: return 1;
    case UHQmode: return 2;
    case USQmode: return 4;
    case UDQmode: return 8;
    case UTQmode: return 16;
    case HAmode: return 2;
    case SAmode: return 4;
    case DAmode: return 8;
    case TAmode: return 16;
    case UHAmode: return 2;
    case USAmode: return 4;
    case UDAmode: return 8;
    case UTAmode: return 16;
    case SFmode: return 4;
    case DFmode: return 8;
    case TFmode: return 16;
    case SDmode: return 4;
    case DDmode: return 8;
    case TDmode: return 16;
    case CQImode: return 2;
    case CHImode: return 4;
    case CSImode: return 8;
    case CDImode: return 16;
    case CTImode: return 32;
    case COImode: return 64;
    case SCmode: return 8;
    case DCmode: return 16;
    case TCmode: return 32;
    case V1QImode: return 1;
    case V2QImode: return 2;
    case V1HImode: return 2;
    case V4QImode: return 4;
    case V2HImode: return 4;
    case V1SImode: return 4;
    case V8QImode: return 8;
    case V4HImode: return 8;
    case V2SImode: return 8;
    case V1DImode: return 8;
    case V16QImode: return 16;
    case V8HImode: return 16;
    case V4SImode: return 16;
    case V2DImode: return 16;
    case V1TImode: return 16;
    case V1SFmode: return 4;
    case V2SFmode: return 8;
    case V1DFmode: return 8;
    case V4SFmode: return 16;
    case V2DFmode: return 16;
    case V1TFmode: return 16;
    default: return mode_size[mode];
    }
}

#ifdef __cplusplus
inline __attribute__((__always_inline__))
#else
extern __inline__ __attribute__((__always_inline__, __gnu_inline__))
#endif
unsigned char
mode_nunits_inline (machine_mode mode)
{
  extern const unsigned char mode_nunits[NUM_MACHINE_MODES];
  switch (mode)
    {
    case VOIDmode: return 0;
    case BLKmode: return 0;
    case CCmode: return 1;
    case CCZmode: return 1;
    case CCZ1mode: return 1;
    case CCAmode: return 1;
    case CCAPmode: return 1;
    case CCANmode: return 1;
    case CCLmode: return 1;
    case CCL1mode: return 1;
    case CCL2mode: return 1;
    case CCL3mode: return 1;
    case CCUmode: return 1;
    case CCURmode: return 1;
    case CCSmode: return 1;
    case CCSRmode: return 1;
    case CCTmode: return 1;
    case CCT1mode: return 1;
    case CCT2mode: return 1;
    case CCT3mode: return 1;
    case CCRAWmode: return 1;
    case CCVEQmode: return 1;
    case CCVIHmode: return 1;
    case CCVIHUmode: return 1;
    case CCVFHmode: return 1;
    case CCVFHEmode: return 1;
    case CCVIALLmode: return 1;
    case CCVIANYmode: return 1;
    case CCVFALLmode: return 1;
    case CCVFANYmode: return 1;
    case BImode: return 1;
    case QImode: return 1;
    case HImode: return 1;
    case SImode: return 1;
    case DImode: return 1;
    case TImode: return 1;
    case OImode: return 1;
    case QQmode: return 1;
    case HQmode: return 1;
    case SQmode: return 1;
    case DQmode: return 1;
    case TQmode: return 1;
    case UQQmode: return 1;
    case UHQmode: return 1;
    case USQmode: return 1;
    case UDQmode: return 1;
    case UTQmode: return 1;
    case HAmode: return 1;
    case SAmode: return 1;
    case DAmode: return 1;
    case TAmode: return 1;
    case UHAmode: return 1;
    case USAmode: return 1;
    case UDAmode: return 1;
    case UTAmode: return 1;
    case SFmode: return 1;
    case DFmode: return 1;
    case TFmode: return 1;
    case SDmode: return 1;
    case DDmode: return 1;
    case TDmode: return 1;
    case CQImode: return 2;
    case CHImode: return 2;
    case CSImode: return 2;
    case CDImode: return 2;
    case CTImode: return 2;
    case COImode: return 2;
    case SCmode: return 2;
    case DCmode: return 2;
    case TCmode: return 2;
    case V1QImode: return 1;
    case V2QImode: return 2;
    case V1HImode: return 1;
    case V4QImode: return 4;
    case V2HImode: return 2;
    case V1SImode: return 1;
    case V8QImode: return 8;
    case V4HImode: return 4;
    case V2SImode: return 2;
    case V1DImode: return 1;
    case V16QImode: return 16;
    case V8HImode: return 8;
    case V4SImode: return 4;
    case V2DImode: return 2;
    case V1TImode: return 1;
    case V1SFmode: return 1;
    case V2SFmode: return 2;
    case V1DFmode: return 1;
    case V4SFmode: return 4;
    case V2DFmode: return 2;
    case V1TFmode: return 1;
    default: return mode_nunits[mode];
    }
}

#ifdef __cplusplus
inline __attribute__((__always_inline__))
#else
extern __inline__ __attribute__((__always_inline__, __gnu_inline__))
#endif
unsigned char
mode_inner_inline (machine_mode mode)
{
  extern const unsigned char mode_inner[NUM_MACHINE_MODES];
  switch (mode)
    {
    case VOIDmode: return VOIDmode;
    case BLKmode: return BLKmode;
    case CCmode: return CCmode;
    case CCZmode: return CCZmode;
    case CCZ1mode: return CCZ1mode;
    case CCAmode: return CCAmode;
    case CCAPmode: return CCAPmode;
    case CCANmode: return CCANmode;
    case CCLmode: return CCLmode;
    case CCL1mode: return CCL1mode;
    case CCL2mode: return CCL2mode;
    case CCL3mode: return CCL3mode;
    case CCUmode: return CCUmode;
    case CCURmode: return CCURmode;
    case CCSmode: return CCSmode;
    case CCSRmode: return CCSRmode;
    case CCTmode: return CCTmode;
    case CCT1mode: return CCT1mode;
    case CCT2mode: return CCT2mode;
    case CCT3mode: return CCT3mode;
    case CCRAWmode: return CCRAWmode;
    case CCVEQmode: return CCVEQmode;
    case CCVIHmode: return CCVIHmode;
    case CCVIHUmode: return CCVIHUmode;
    case CCVFHmode: return CCVFHmode;
    case CCVFHEmode: return CCVFHEmode;
    case CCVIALLmode: return CCVIALLmode;
    case CCVIANYmode: return CCVIANYmode;
    case CCVFALLmode: return CCVFALLmode;
    case CCVFANYmode: return CCVFANYmode;
    case BImode: return BImode;
    case QImode: return QImode;
    case HImode: return HImode;
    case SImode: return SImode;
    case DImode: return DImode;
    case TImode: return TImode;
    case OImode: return OImode;
    case QQmode: return QQmode;
    case HQmode: return HQmode;
    case SQmode: return SQmode;
    case DQmode: return DQmode;
    case TQmode: return TQmode;
    case UQQmode: return UQQmode;
    case UHQmode: return UHQmode;
    case USQmode: return USQmode;
    case UDQmode: return UDQmode;
    case UTQmode: return UTQmode;
    case HAmode: return HAmode;
    case SAmode: return SAmode;
    case DAmode: return DAmode;
    case TAmode: return TAmode;
    case UHAmode: return UHAmode;
    case USAmode: return USAmode;
    case UDAmode: return UDAmode;
    case UTAmode: return UTAmode;
    case SFmode: return SFmode;
    case DFmode: return DFmode;
    case TFmode: return TFmode;
    case SDmode: return SDmode;
    case DDmode: return DDmode;
    case TDmode: return TDmode;
    case CQImode: return QImode;
    case CHImode: return HImode;
    case CSImode: return SImode;
    case CDImode: return DImode;
    case CTImode: return TImode;
    case COImode: return OImode;
    case SCmode: return SFmode;
    case DCmode: return DFmode;
    case TCmode: return TFmode;
    case V1QImode: return QImode;
    case V2QImode: return QImode;
    case V1HImode: return HImode;
    case V4QImode: return QImode;
    case V2HImode: return HImode;
    case V1SImode: return SImode;
    case V8QImode: return QImode;
    case V4HImode: return HImode;
    case V2SImode: return SImode;
    case V1DImode: return DImode;
    case V16QImode: return QImode;
    case V8HImode: return HImode;
    case V4SImode: return SImode;
    case V2DImode: return DImode;
    case V1TImode: return TImode;
    case V1SFmode: return SFmode;
    case V2SFmode: return SFmode;
    case V1DFmode: return DFmode;
    case V4SFmode: return SFmode;
    case V2DFmode: return DFmode;
    case V1TFmode: return TFmode;
    default: return mode_inner[mode];
    }
}

#ifdef __cplusplus
inline __attribute__((__always_inline__))
#else
extern __inline__ __attribute__((__always_inline__, __gnu_inline__))
#endif
unsigned char
mode_unit_size_inline (machine_mode mode)
{
  extern CONST_MODE_UNIT_SIZE unsigned char mode_unit_size[NUM_MACHINE_MODES];
  switch (mode)
    {
    case VOIDmode: return 0;
    case BLKmode: return 0;
    case CCmode: return 4;
    case CCZmode: return 4;
    case CCZ1mode: return 4;
    case CCAmode: return 4;
    case CCAPmode: return 4;
    case CCANmode: return 4;
    case CCLmode: return 4;
    case CCL1mode: return 4;
    case CCL2mode: return 4;
    case CCL3mode: return 4;
    case CCUmode: return 4;
    case CCURmode: return 4;
    case CCSmode: return 4;
    case CCSRmode: return 4;
    case CCTmode: return 4;
    case CCT1mode: return 4;
    case CCT2mode: return 4;
    case CCT3mode: return 4;
    case CCRAWmode: return 4;
    case CCVEQmode: return 4;
    case CCVIHmode: return 4;
    case CCVIHUmode: return 4;
    case CCVFHmode: return 4;
    case CCVFHEmode: return 4;
    case CCVIALLmode: return 4;
    case CCVIANYmode: return 4;
    case CCVFALLmode: return 4;
    case CCVFANYmode: return 4;
    case BImode: return 1;
    case QImode: return 1;
    case HImode: return 2;
    case SImode: return 4;
    case DImode: return 8;
    case TImode: return 16;
    case OImode: return 32;
    case QQmode: return 1;
    case HQmode: return 2;
    case SQmode: return 4;
    case DQmode: return 8;
    case TQmode: return 16;
    case UQQmode: return 1;
    case UHQmode: return 2;
    case USQmode: return 4;
    case UDQmode: return 8;
    case UTQmode: return 16;
    case HAmode: return 2;
    case SAmode: return 4;
    case DAmode: return 8;
    case TAmode: return 16;
    case UHAmode: return 2;
    case USAmode: return 4;
    case UDAmode: return 8;
    case UTAmode: return 16;
    case SFmode: return 4;
    case DFmode: return 8;
    case TFmode: return 16;
    case SDmode: return 4;
    case DDmode: return 8;
    case TDmode: return 16;
    case CQImode: return 1;
    case CHImode: return 2;
    case CSImode: return 4;
    case CDImode: return 8;
    case CTImode: return 16;
    case COImode: return 32;
    case SCmode: return 4;
    case DCmode: return 8;
    case TCmode: return 16;
    case V1QImode: return 1;
    case V2QImode: return 1;
    case V1HImode: return 2;
    case V4QImode: return 1;
    case V2HImode: return 2;
    case V1SImode: return 4;
    case V8QImode: return 1;
    case V4HImode: return 2;
    case V2SImode: return 4;
    case V1DImode: return 8;
    case V16QImode: return 1;
    case V8HImode: return 2;
    case V4SImode: return 4;
    case V2DImode: return 8;
    case V1TImode: return 16;
    case V1SFmode: return 4;
    case V2SFmode: return 4;
    case V1DFmode: return 8;
    case V4SFmode: return 4;
    case V2DFmode: return 8;
    case V1TFmode: return 16;
    default: return mode_unit_size[mode];
    }
}

#ifdef __cplusplus
inline __attribute__((__always_inline__))
#else
extern __inline__ __attribute__((__always_inline__, __gnu_inline__))
#endif
unsigned short
mode_unit_precision_inline (machine_mode mode)
{
  extern const unsigned short mode_unit_precision[NUM_MACHINE_MODES];
  switch (mode)
    {
    case VOIDmode: return 0;
    case BLKmode: return 0;
    case CCmode: return 4*BITS_PER_UNIT;
    case CCZmode: return 4*BITS_PER_UNIT;
    case CCZ1mode: return 4*BITS_PER_UNIT;
    case CCAmode: return 4*BITS_PER_UNIT;
    case CCAPmode: return 4*BITS_PER_UNIT;
    case CCANmode: return 4*BITS_PER_UNIT;
    case CCLmode: return 4*BITS_PER_UNIT;
    case CCL1mode: return 4*BITS_PER_UNIT;
    case CCL2mode: return 4*BITS_PER_UNIT;
    case CCL3mode: return 4*BITS_PER_UNIT;
    case CCUmode: return 4*BITS_PER_UNIT;
    case CCURmode: return 4*BITS_PER_UNIT;
    case CCSmode: return 4*BITS_PER_UNIT;
    case CCSRmode: return 4*BITS_PER_UNIT;
    case CCTmode: return 4*BITS_PER_UNIT;
    case CCT1mode: return 4*BITS_PER_UNIT;
    case CCT2mode: return 4*BITS_PER_UNIT;
    case CCT3mode: return 4*BITS_PER_UNIT;
    case CCRAWmode: return 4*BITS_PER_UNIT;
    case CCVEQmode: return 4*BITS_PER_UNIT;
    case CCVIHmode: return 4*BITS_PER_UNIT;
    case CCVIHUmode: return 4*BITS_PER_UNIT;
    case CCVFHmode: return 4*BITS_PER_UNIT;
    case CCVFHEmode: return 4*BITS_PER_UNIT;
    case CCVIALLmode: return 4*BITS_PER_UNIT;
    case CCVIANYmode: return 4*BITS_PER_UNIT;
    case CCVFALLmode: return 4*BITS_PER_UNIT;
    case CCVFANYmode: return 4*BITS_PER_UNIT;
    case BImode: return 1;
    case QImode: return 1*BITS_PER_UNIT;
    case HImode: return 2*BITS_PER_UNIT;
    case SImode: return 4*BITS_PER_UNIT;
    case DImode: return 8*BITS_PER_UNIT;
    case TImode: return 16*BITS_PER_UNIT;
    case OImode: return 32*BITS_PER_UNIT;
    case QQmode: return 1*BITS_PER_UNIT;
    case HQmode: return 2*BITS_PER_UNIT;
    case SQmode: return 4*BITS_PER_UNIT;
    case DQmode: return 8*BITS_PER_UNIT;
    case TQmode: return 16*BITS_PER_UNIT;
    case UQQmode: return 1*BITS_PER_UNIT;
    case UHQmode: return 2*BITS_PER_UNIT;
    case USQmode: return 4*BITS_PER_UNIT;
    case UDQmode: return 8*BITS_PER_UNIT;
    case UTQmode: return 16*BITS_PER_UNIT;
    case HAmode: return 2*BITS_PER_UNIT;
    case SAmode: return 4*BITS_PER_UNIT;
    case DAmode: return 8*BITS_PER_UNIT;
    case TAmode: return 16*BITS_PER_UNIT;
    case UHAmode: return 2*BITS_PER_UNIT;
    case USAmode: return 4*BITS_PER_UNIT;
    case UDAmode: return 8*BITS_PER_UNIT;
    case UTAmode: return 16*BITS_PER_UNIT;
    case SFmode: return 4*BITS_PER_UNIT;
    case DFmode: return 8*BITS_PER_UNIT;
    case TFmode: return 16*BITS_PER_UNIT;
    case SDmode: return 4*BITS_PER_UNIT;
    case DDmode: return 8*BITS_PER_UNIT;
    case TDmode: return 16*BITS_PER_UNIT;
    case CQImode: return 1*BITS_PER_UNIT;
    case CHImode: return 2*BITS_PER_UNIT;
    case CSImode: return 4*BITS_PER_UNIT;
    case CDImode: return 8*BITS_PER_UNIT;
    case CTImode: return 16*BITS_PER_UNIT;
    case COImode: return 32*BITS_PER_UNIT;
    case SCmode: return 4*BITS_PER_UNIT;
    case DCmode: return 8*BITS_PER_UNIT;
    case TCmode: return 16*BITS_PER_UNIT;
    case V1QImode: return 1*BITS_PER_UNIT;
    case V2QImode: return 1*BITS_PER_UNIT;
    case V1HImode: return 2*BITS_PER_UNIT;
    case V4QImode: return 1*BITS_PER_UNIT;
    case V2HImode: return 2*BITS_PER_UNIT;
    case V1SImode: return 4*BITS_PER_UNIT;
    case V8QImode: return 1*BITS_PER_UNIT;
    case V4HImode: return 2*BITS_PER_UNIT;
    case V2SImode: return 4*BITS_PER_UNIT;
    case V1DImode: return 8*BITS_PER_UNIT;
    case V16QImode: return 1*BITS_PER_UNIT;
    case V8HImode: return 2*BITS_PER_UNIT;
    case V4SImode: return 4*BITS_PER_UNIT;
    case V2DImode: return 8*BITS_PER_UNIT;
    case V1TImode: return 16*BITS_PER_UNIT;
    case V1SFmode: return 4*BITS_PER_UNIT;
    case V2SFmode: return 4*BITS_PER_UNIT;
    case V1DFmode: return 8*BITS_PER_UNIT;
    case V4SFmode: return 4*BITS_PER_UNIT;
    case V2DFmode: return 8*BITS_PER_UNIT;
    case V1TFmode: return 16*BITS_PER_UNIT;
    default: return mode_unit_precision[mode];
    }
}

#endif /* GCC_VERSION >= 4001 */

#endif /* insn-modes.h */
