Author: dgilmore Date: 2012-08-23 00:46:36 -0400 (Thu, 23 Aug 2012) New Revision: 4021
Added: trunk/osprey/crayf90/sgi/cwh_targ_info.cxx trunk/osprey/crayf90/sgi/cwh_targ_info.h Log: Added two files that should have been added in previous commit r4020 titled: Fix Is_Target_XXbit duplicate CPP macro name warning. CR (also for r4020): Sun Chan Added: trunk/osprey/crayf90/sgi/cwh_targ_info.cxx =================================================================== --- trunk/osprey/crayf90/sgi/cwh_targ_info.cxx (rev 0) +++ trunk/osprey/crayf90/sgi/cwh_targ_info.cxx 2012-08-23 04:46:36 UTC (rev 4021) @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2012 Advanced Micro Devices, Inc. All Rights Reserved. + */ + +/* + Open64 is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, + or (at your option) any later version. + + Open64 is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free SoftwareFoundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ + +#include "defs.h" +#include "config_targ.h" +#include "cwh_targ_info.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ +#if defined(TARG_X8664) +int is_Target_ABI_n32(void) +{ + return Target_ABI == ABI_n32; +} +#endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ Added: trunk/osprey/crayf90/sgi/cwh_targ_info.h =================================================================== --- trunk/osprey/crayf90/sgi/cwh_targ_info.h (rev 0) +++ trunk/osprey/crayf90/sgi/cwh_targ_info.h 2012-08-23 04:46:36 UTC (rev 4021) @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2012 Advanced Micro Devices, Inc. All Rights Reserved. + */ + +/* + Open64 is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, + or (at your option) any later version. + + Open64 is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free SoftwareFoundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ + +#ifndef CWH_TARG_INFO_INCLUDED +#define CWH_TARG_INFO_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ +/* Should return BOOL but the BOOL type is not available. + */ +#if defined(TARG_X8664) +extern int is_Target_ABI_n32(void); +#endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ +#endif /* CWH_TARG_INFO_INCLUDED */ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel