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 00037 // 00038 // Generate a list of enumeration classes and values for the ISA. 00040 00041 #include <stddef.h> 00042 #include "isa_enums_gen.h" 00043 00044 main () 00045 { 00046 ISA_Enums_Begin(); 00047 00048 ISA_Create_Enum_Class ("mwh", 00049 ".sptk", 0, 00050 ".dptk", 2, 00051 NULL, 1); // default value 00052 00053 ISA_Create_Enum_Class ("ldhint", 00054 ".nt1", 1, 00055 ".nta", 3, 00056 NULL, 0); // default value 00057 00058 ISA_Create_Enum_Class ("sthint", 00059 ".nta", 3, 00060 NULL, 0); // default value 00061 00062 ISA_Create_Enum_Class ("lfhint", 00063 ".nt1", 1, 00064 ".nt2", 2, 00065 ".nta", 3, 00066 NULL, 0); // default value 00067 00068 ISA_Create_Enum_Class ("ph", 00069 ".few", 0, 00070 ".many", 1, 00071 NULL, UNDEFINED); // default value 00072 00073 ISA_Create_Enum_Class ("bwh", 00074 ".sptk", 0, 00075 ".spnt", 1, 00076 ".dptk", 2, 00077 ".dpnt", 3, 00078 NULL, UNDEFINED); // default value 00079 00080 ISA_Create_Enum_Class ("dh", 00081 ".clr", 1, 00082 NULL, 0); // default value 00083 00084 ISA_Create_Enum_Class ("ipwh", 00085 ".sptk", 0, 00086 ".loop", 1, 00087 ".dptk", 2, 00088 ".exit", 3, 00089 NULL, UNDEFINED); // default value 00090 00091 ISA_Create_Enum_Class ("indwh", 00092 ".sptk", 0, 00093 ".dptk", 2, 00094 NULL, UNDEFINED); // default value 00095 00096 ISA_Create_Enum_Class ("ih", 00097 ".imp", 1, 00098 NULL, 0); // default value 00099 00100 ISA_Create_Enum_Class ("aclr", 00101 ".nc", 0, 00102 ".clr", 1, 00103 NULL, UNDEFINED); // default value 00104 00105 ISA_Create_Enum_Class ("sem", 00106 ".acq", 0, 00107 ".rel", 1, 00108 NULL, UNDEFINED); // default value 00109 00110 ISA_Create_Enum_Class ("ldtype", 00111 ".s", 1, 00112 ".a", 2, 00113 ".sa", 3, 00114 ".bias", 4, 00115 ".acq", 5, 00116 ".c.clr", 8, 00117 ".c.nc", 9, 00118 ".c.clr.acq", 10, 00119 NULL, 0); // default value 00120 00121 ISA_Create_Enum_Class ("fldtype", 00122 ".s", 1, 00123 ".a", 2, 00124 ".sa", 3, 00125 ".c.clr", 8, 00126 ".c.nc", 9, 00127 NULL, 0); // default value 00128 00129 ISA_Create_Enum_Class ("sttype", 00130 ".rel", 1, 00131 NULL, 0); // default value 00132 00133 ISA_Create_Enum_Class ("mbtype4", 00134 "@brdcst", 0, 00135 "@mix", 8, 00136 "@shuf", 9, 00137 "@alt", 0xa, 00138 "@rev", 0xb, 00139 NULL, UNDEFINED); // default value 00140 00141 ISA_Create_Enum_Class ("sf", 00142 ".s0", 0, 00143 ".s1", 1, 00144 ".s2", 2, 00145 ".s3", 3, 00146 NULL, UNDEFINED); // default value 00147 00148 ISA_Enums_End(); 00149 }