Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
config_targ2.h
Go to the documentation of this file.
00001 /*
00002 
00003   Copyright (C) 2000, 2001 Silicon Graphics, Inc.  All Rights Reserved.
00004 
00005   This program is free software; you can redistribute it and/or modify it
00006   under the terms of version 2 of the GNU General Public License as
00007   published by the Free Software Foundation.
00008 
00009   This program is distributed in the hope that it would be useful, but
00010   WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00012 
00013   Further, this software is distributed without any warranty that it is
00014   free of the rightful claim of any third person regarding infringement 
00015   or the like.  Any license provided herein, whether implied or 
00016   otherwise, applies only to this software file.  Patent licenses, if 
00017   any, provided herein do not apply to combinations of this program with 
00018   other software, or any other product whatsoever.  
00019 
00020   You should have received a copy of the GNU General Public License along
00021   with this program; if not, write the Free Software Foundation, Inc., 59
00022   Temple Place - Suite 330, Boston MA 02111-1307, USA.
00023 
00024   Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pky,
00025   Mountain View, CA 94043, or:
00026 
00027   http://www.sgi.com
00028 
00029   For further information regarding this notice, see:
00030 
00031   http://oss.sgi.com/projects/GenInfo/NoticeExplan
00032 
00033 */
00034 
00035 
00036 /* ====================================================================
00037  * ====================================================================
00038  *
00039  *
00040  * Revision history:
00041  *  11-Apr-96 - Original Version
00042  *
00043  * Description:
00044  *
00045  * External definitions for the -TARG group.
00046  *
00047  * Some of these variables are also defined in config.h or
00048  * MIPS/config_targ.h, for historical reasons.  In order to separate
00049  * the headers and minimize dependencies on changes to this one, new
00050  * group members should be defined only here, and their users should
00051  * explicitly include this file instead of having it indirectly
00052  * included (e.g. via config.h or MIPS/config_targ.h).  We should also
00053  * work towards removing most of the definitions from those headers.
00054  *
00055  * Exported variables should have names prefixed by "TARG_" to
00056  * facilitate moving them to a pushable struct later if desired.
00057  * See config_debug.[hc] for an example.
00058  *
00059  * ====================================================================
00060  * ====================================================================
00061  */
00062 
00063 #ifndef config_targ2_INCLUDED
00064 #define config_targ2_INCLUDED
00065 
00066 #ifdef _KEEP_RCS_ID
00067 /*REFERENCED*/
00068 #endif /* _KEEP_RCS_ID */
00069 
00070 #ifdef __cplusplus
00071 extern "C" {
00072 #endif /* __cplusplus */
00073 
00074 /* ====================================================================
00075  * List of global variables that are set by the -TARG option group
00076  * These appear only here, requiring explicit inclusion of this file.
00077  * ====================================================================
00078  */
00079 
00080 /* General target control: */
00081 extern char *ABI_Name;          /* -TARG:abi=xxx */
00082 extern char *Processor_Name;    /* -TARG:processor=xxx */
00083 extern char *ISA_Name;          /* -TARG:isa=xxx */
00084 extern INT16 Target_FPRs;       /* Number of target FP registers */
00085 extern BOOL Pure_ABI;           /* Avoid non-ABI constructs? */
00086 
00087 /* Fault handling: */
00088 extern BOOL Force_FP_Precise_Mode;      /* Force precise FP traps? */
00089 extern BOOL Force_Memory_Dismiss;       /* Force mem fault dismissal? */
00090 extern BOOL Force_Page_Zero;            /* Force mapping page zero? */
00091 extern BOOL Force_SMM;                  /* Force sequential memory? */
00092 extern char *FP_Excp_Max;               /* Max FP trap enables */
00093 extern char *FP_Excp_Min;               /* Min FP trap enables */
00094 
00095 /* Force calls to be indirect (i.e. use address in register)? */
00096 extern BOOL Force_Jalr;
00097 
00098 /* Miscellaneous target instruction features: */
00099 extern BOOL Madd_Allowed;       /* Generate madd instructions? */
00100 extern BOOL SYNC_Allowed;
00101 extern BOOL Slow_CVTDL;
00102 
00103 /* Itanium options: */
00104 extern BOOL Itanium_a0_step;    /* a0 version of itanium chip */
00105 
00106 /* ====================================================================
00107  * List of global variables that are set by the -TARG option group
00108  * These also appear in config_targ.h, and are implicitly included by
00109  * including config.h.  They should be removed from there when it is
00110  * convenient.
00111  * ====================================================================
00112  */
00113 
00114 #ifdef __cplusplus
00115 }
00116 #endif /* __cplusplus */
00117     
00118 #endif /* config_targ2_INCLUDED */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines