OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [config/] [ia64/] [ia64-modes.def] - Diff between revs 282 and 338

Only display areas with differences | Details | Blame | View Log

Rev 282 Rev 338
/* Definitions of target machine GNU compiler.  IA-64 version.
/* Definitions of target machine GNU compiler.  IA-64 version.
   Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
   Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
   Contributed by James E. Wilson  and
   Contributed by James E. Wilson  and
                  David Mosberger .
                  David Mosberger .
This file is part of GCC.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
any later version.
GCC is distributed in the hope that it will be useful,
GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
along with GCC; see the file COPYING3.  If not see
.  */
.  */
/* IA64 requires both XF and TF modes.
/* IA64 requires both XF and TF modes.
   XFmode is __float80 is IEEE extended; TFmode is __float128
   XFmode is __float80 is IEEE extended; TFmode is __float128
   is IEEE quad.  Both these modes occupy 16 bytes, but XFmode
   is IEEE quad.  Both these modes occupy 16 bytes, but XFmode
   only has 80 significant bits.  RFmode is __fpreg is IA64 internal
   only has 80 significant bits.  RFmode is __fpreg is IA64 internal
   register format with 82 significant bits but otherwise handled like
   register format with 82 significant bits but otherwise handled like
   XFmode.  */
   XFmode.  */
FRACTIONAL_FLOAT_MODE (XF, 80, 16, ieee_extended_intel_128_format);
FRACTIONAL_FLOAT_MODE (XF, 80, 16, ieee_extended_intel_128_format);
FRACTIONAL_FLOAT_MODE (RF, 82, 16, ieee_extended_intel_128_format);
FRACTIONAL_FLOAT_MODE (RF, 82, 16, ieee_extended_intel_128_format);
FLOAT_MODE (TF, 16, ieee_quad_format);
FLOAT_MODE (TF, 16, ieee_quad_format);
/* The above produces:
/* The above produces:
   mode   ILP32 size/align      LP64 size/align
   mode   ILP32 size/align      LP64 size/align
   XF     16/16                 16/16
   XF     16/16                 16/16
   TF     16/16                 16/16
   TF     16/16                 16/16
   psABI expectations:
   psABI expectations:
   mode   ILP32 size/align      LP64 size/align
   mode   ILP32 size/align      LP64 size/align
   XF     12/4                  -
   XF     12/4                  -
   TF     -                     -
   TF     -                     -
   HPUX expectations:
   HPUX expectations:
   mode   ILP32 size/align      LP64 size/align
   mode   ILP32 size/align      LP64 size/align
   XF     -                     -
   XF     -                     -
   TF     16/8                  -
   TF     16/8                  -
   We fix this up here.  */
   We fix this up here.  */
ADJUST_FLOAT_FORMAT (XF, (TARGET_ILP32 && !TARGET_HPUX)
ADJUST_FLOAT_FORMAT (XF, (TARGET_ILP32 && !TARGET_HPUX)
                         ? &ieee_extended_intel_96_format
                         ? &ieee_extended_intel_96_format
                         : &ieee_extended_intel_128_format);
                         : &ieee_extended_intel_128_format);
ADJUST_BYTESIZE  (XF, (TARGET_ILP32 && !TARGET_HPUX) ? 12 : 16);
ADJUST_BYTESIZE  (XF, (TARGET_ILP32 && !TARGET_HPUX) ? 12 : 16);
ADJUST_ALIGNMENT (XF, (TARGET_ILP32 && !TARGET_HPUX) ?  4 : 16);
ADJUST_ALIGNMENT (XF, (TARGET_ILP32 && !TARGET_HPUX) ?  4 : 16);
ADJUST_FLOAT_FORMAT (RF, (TARGET_ILP32 && !TARGET_HPUX)
ADJUST_FLOAT_FORMAT (RF, (TARGET_ILP32 && !TARGET_HPUX)
                         ? &ieee_extended_intel_96_format
                         ? &ieee_extended_intel_96_format
                         : &ieee_extended_intel_128_format);
                         : &ieee_extended_intel_128_format);
ADJUST_BYTESIZE  (RF, (TARGET_ILP32 && !TARGET_HPUX) ? 12 : 16);
ADJUST_BYTESIZE  (RF, (TARGET_ILP32 && !TARGET_HPUX) ? 12 : 16);
ADJUST_ALIGNMENT (RF, (TARGET_ILP32 && !TARGET_HPUX) ?  4 : 16);
ADJUST_ALIGNMENT (RF, (TARGET_ILP32 && !TARGET_HPUX) ?  4 : 16);
ADJUST_ALIGNMENT (TF, (TARGET_ILP32 &&  TARGET_HPUX) ?  8 : 16);
ADJUST_ALIGNMENT (TF, (TARGET_ILP32 &&  TARGET_HPUX) ?  8 : 16);
/* 256-bit integer mode is needed for STACK_SAVEAREA_MODE.  */
/* 256-bit integer mode is needed for STACK_SAVEAREA_MODE.  */
INT_MODE (OI, 32);
INT_MODE (OI, 32);
/* Add any extra modes needed to represent the condition code.
/* Add any extra modes needed to represent the condition code.
   CCImode is used to mark a single predicate register instead
   CCImode is used to mark a single predicate register instead
   of a register pair.  This is currently only used in reg_raw_mode
   of a register pair.  This is currently only used in reg_raw_mode
   so that flow doesn't do something stupid.  */
   so that flow doesn't do something stupid.  */
CC_MODE (CCI);
CC_MODE (CCI);
/* Vector modes.  */
/* Vector modes.  */
VECTOR_MODES (INT, 4);          /* V4QI V2HI */
VECTOR_MODES (INT, 4);          /* V4QI V2HI */
VECTOR_MODES (INT, 8);          /* V8QI V4HI V2SI */
VECTOR_MODES (INT, 8);          /* V8QI V4HI V2SI */
VECTOR_MODE (INT, QI, 16);
VECTOR_MODE (INT, QI, 16);
VECTOR_MODE (INT, HI, 8);
VECTOR_MODE (INT, HI, 8);
VECTOR_MODE (INT, SI, 4);
VECTOR_MODE (INT, SI, 4);
VECTOR_MODE (FLOAT, SF, 2);
VECTOR_MODE (FLOAT, SF, 2);
VECTOR_MODE (FLOAT, SF, 4);
VECTOR_MODE (FLOAT, SF, 4);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.