Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
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 #include <stdio.h> 00037 #include <assert.h> 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif /* __cplusplus */ 00041 00042 #define FAIL () { } 00043 00044 #define QUOTE(x) x 00045 #define ASSERT_UNIMPLEMENTED 1 00046 #undef ASSERT_UNIMPLEMENTED 00047 #ifndef ASSERT_UNIMPLEMENTED 00048 #define UNIMPLEMENTED(fname) void fname() {printf("%3d %s\n",__LINE__,# fname);} 00049 #else 00050 #define UNIMPLEMENTED(fname) void fname() {printf("Unimplemented function :: %s \n",# fname); exit(1);} 00051 #endif 00052 00053 #define NOTNEEDED(fname) void fname() {} 00054 00055 /*SGI junk */ 00056 #include "defs.h" 00057 #include "errors.h" 00058 #include "err_host.h" 00059 #include "config.h" 00060 00061 void Cleanup_Files FAIL 00062 /* int Op_Name FAIL */ 00063 int trace_verbose = 0 ; 00064 00065 /* Known to be not needed */ 00066 NOTNEEDED(process_v_dbg_flags) 00067 NOTNEEDED(PDGCS_debug_init) 00068 NOTNEEDED(PDGCS_end_comp_unit) 00069 NOTNEEDED(fei_readsm) 00070 /* NOTNEEDED(fei_field_dot) */ 00071 00072 /* Not implemented yet */ 00073 00074 UNIMPLEMENTED(fei_task_wait) 00075 UNIMPLEMENTED(fei_task_send) 00076 UNIMPLEMENTED(fei_next_symbol) 00077 UNIMPLEMENTED(npex_constant) 00078 UNIMPLEMENTED(npex_to_expr) 00079 UNIMPLEMENTED(fei_loc_cmr) 00080 UNIMPLEMENTED(fei_wmb) 00081 UNIMPLEMENTED(fei_rem_cmr) 00082 UNIMPLEMENTED(fei_ssd_alloc) 00083 UNIMPLEMENTED(fei_mpp_symmetric_alloc) 00084 UNIMPLEMENTED(fei_ssd_free) 00085 UNIMPLEMENTED(fei_mpp_symmetric_free) 00086 UNIMPLEMENTED(fei_copyin) 00087 UNIMPLEMENTED(fei_copyout) 00088 UNIMPLEMENTED(fei_argchk) 00089 UNIMPLEMENTED(fei_argloc) 00090 UNIMPLEMENTED(npex_mult) 00091 UNIMPLEMENTED(npex_div) 00092 UNIMPLEMENTED(npex_plus) 00093 UNIMPLEMENTED(npex_minus) 00094 UNIMPLEMENTED(npex_uminus) 00095 UNIMPLEMENTED(npex_mod) 00096 UNIMPLEMENTED(npex_shiftr) 00097 UNIMPLEMENTED(npex_shiftl) 00098 UNIMPLEMENTED(fei_smt_actual_to_generic) 00099 UNIMPLEMENTED(fei_smt_original_to_qualified) 00100 UNIMPLEMENTED(npex_end) 00101 UNIMPLEMENTED(fei_module_file) 00102 UNIMPLEMENTED(fei_numcpus) 00103 00104 /* Elemental operations */ 00105 00106 UNIMPLEMENTED(fei_my_pe) 00107 UNIMPLEMENTED(fei_numargs) 00108 UNIMPLEMENTED(fei_ridiv) 00109 00110 /* Obsolete and unsupported */ 00111 UNIMPLEMENTED(fei_i24m) 00112 00113 /* I/O related */ 00114 UNIMPLEMENTED(fei_getpos) 00115 00116 00117 /* Cray hardware specific ? */ 00118 UNIMPLEMENTED(fei_mbclr) 00119 UNIMPLEMENTED(fei_mbld) 00120 UNIMPLEMENTED(fei_mbmx) 00121 UNIMPLEMENTED(fei_mbmxl) 00122 UNIMPLEMENTED(fei_mbul) 00123 00124 /* Things we don't ever expect to see */ 00125 UNIMPLEMENTED(fei_reshape) 00126 UNIMPLEMENTED(fei_dshiftl) 00127 UNIMPLEMENTED(fei_dshiftr) 00128 #ifdef __cplusplus 00129 } 00130 #endif /* __cplusplus */ 00131