00001 /* 00002 The lestes compiler suite 00003 Copyright (C) 2002, 2003, 2004, 2005 Miroslav Tichy 00004 Copyright (C) 2002, 2003, 2004, 2005 Petr Zika 00005 Copyright (C) 2002, 2003, 2004, 2005 Vojtech Hala 00006 Copyright (C) 2002, 2003, 2004, 2005 Jiri Kosina 00007 Copyright (C) 2002, 2003, 2004, 2005 Pavel Sanda 00008 Copyright (C) 2002, 2003, 2004, 2005 Jan Zouhar 00009 Copyright (C) 2002, 2003, 2004, 2005 Rudolf Thomas 00010 00011 This program is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU General Public License as published by 00013 the Free Software Foundation; version 2 of the License. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 See the full text of the GNU General Public License version 2, and 00021 the limitations in the file doc/LICENSE. 00022 00023 By accepting the license the licensee waives any and all claims 00024 against the copyright holder(s) related in whole or in part to the 00025 work, its use, and/or the inability to use it. 00026 00027 */ 00028 #ifndef lestes___host_types_hh___included 00029 #define lestes___host_types_hh___included 00030 00031 /*! \file 00032 Definition of data types on host machine for i686. 00033 \todo pt Only the host machine estimate. 00034 \todo pt There shoulde be macros to check whether certain types 00035 really exist to allow substitution for helper classes. 00036 \author pt 00037 */ 00038 00039 #include <lestes/package.hh> 00040 00041 package(lestes); 00042 00043 typedef signed char lc_host_int_least8; 00044 typedef lc_host_int_least8 lc_host_int_least1; 00045 typedef lc_host_int_least8 lc_host_int_least2; 00046 typedef lc_host_int_least8 lc_host_int_least3; 00047 typedef lc_host_int_least8 lc_host_int_least4; 00048 typedef lc_host_int_least8 lc_host_int_least5; 00049 typedef lc_host_int_least8 lc_host_int_least6; 00050 typedef lc_host_int_least8 lc_host_int_least7; 00051 00052 typedef signed short lc_host_int_least16; 00053 typedef lc_host_int_least16 lc_host_int_least9; 00054 typedef lc_host_int_least16 lc_host_int_least10; 00055 typedef lc_host_int_least16 lc_host_int_least11; 00056 typedef lc_host_int_least16 lc_host_int_least12; 00057 typedef lc_host_int_least16 lc_host_int_least13; 00058 typedef lc_host_int_least16 lc_host_int_least14; 00059 typedef lc_host_int_least16 lc_host_int_least15; 00060 00061 typedef signed int lc_host_int_least32; 00062 typedef lc_host_int_least32 lc_host_int_least17; 00063 typedef lc_host_int_least32 lc_host_int_least18; 00064 typedef lc_host_int_least32 lc_host_int_least19; 00065 typedef lc_host_int_least32 lc_host_int_least20; 00066 typedef lc_host_int_least32 lc_host_int_least21; 00067 typedef lc_host_int_least32 lc_host_int_least22; 00068 typedef lc_host_int_least32 lc_host_int_least23; 00069 typedef lc_host_int_least32 lc_host_int_least24; 00070 typedef lc_host_int_least32 lc_host_int_least25; 00071 typedef lc_host_int_least32 lc_host_int_least26; 00072 typedef lc_host_int_least32 lc_host_int_least27; 00073 typedef lc_host_int_least32 lc_host_int_least28; 00074 typedef lc_host_int_least32 lc_host_int_least29; 00075 typedef lc_host_int_least32 lc_host_int_least30; 00076 typedef lc_host_int_least32 lc_host_int_least31; 00077 00078 // TODO pt I don't know the macro syntax ... 00079 #ifdef __HAVE_LONG_LONG 00080 typedef signed long long lc_host_int_least64; 00081 typedef lc_host_int_least64 lc_host_int_least33; 00082 typedef lc_host_int_least64 lc_host_int_least34; 00083 typedef lc_host_int_least64 lc_host_int_least35; 00084 typedef lc_host_int_least64 lc_host_int_least36; 00085 typedef lc_host_int_least64 lc_host_int_least37; 00086 typedef lc_host_int_least64 lc_host_int_least38; 00087 typedef lc_host_int_least64 lc_host_int_least39; 00088 typedef lc_host_int_least64 lc_host_int_least40; 00089 typedef lc_host_int_least64 lc_host_int_least41; 00090 typedef lc_host_int_least64 lc_host_int_least42; 00091 typedef lc_host_int_least64 lc_host_int_least43; 00092 typedef lc_host_int_least64 lc_host_int_least44; 00093 typedef lc_host_int_least64 lc_host_int_least45; 00094 typedef lc_host_int_least64 lc_host_int_least46; 00095 typedef lc_host_int_least64 lc_host_int_least47; 00096 typedef lc_host_int_least64 lc_host_int_least48; 00097 typedef lc_host_int_least64 lc_host_int_least49; 00098 typedef lc_host_int_least64 lc_host_int_least50; 00099 typedef lc_host_int_least64 lc_host_int_least51; 00100 typedef lc_host_int_least64 lc_host_int_least52; 00101 typedef lc_host_int_least64 lc_host_int_least53; 00102 typedef lc_host_int_least64 lc_host_int_least54; 00103 typedef lc_host_int_least64 lc_host_int_least55; 00104 typedef lc_host_int_least64 lc_host_int_least56; 00105 typedef lc_host_int_least64 lc_host_int_least57; 00106 typedef lc_host_int_least64 lc_host_int_least58; 00107 typedef lc_host_int_least64 lc_host_int_least59; 00108 typedef lc_host_int_least64 lc_host_int_least60; 00109 typedef lc_host_int_least64 lc_host_int_least61; 00110 typedef lc_host_int_least64 lc_host_int_least62; 00111 typedef lc_host_int_least64 lc_host_int_least63; 00112 #endif 00113 00114 typedef unsigned char lc_host_uint_least8; 00115 typedef lc_host_uint_least8 lc_host_uint_least1; 00116 typedef lc_host_uint_least8 lc_host_uint_least2; 00117 typedef lc_host_uint_least8 lc_host_uint_least3; 00118 typedef lc_host_uint_least8 lc_host_uint_least4; 00119 typedef lc_host_uint_least8 lc_host_uint_least5; 00120 typedef lc_host_uint_least8 lc_host_uint_least6; 00121 typedef lc_host_uint_least8 lc_host_uint_least7; 00122 00123 typedef unsigned short lc_host_uint_least16; 00124 typedef lc_host_uint_least16 lc_host_uint_least9; 00125 typedef lc_host_uint_least16 lc_host_uint_least10; 00126 typedef lc_host_uint_least16 lc_host_uint_least11; 00127 typedef lc_host_uint_least16 lc_host_uint_least12; 00128 typedef lc_host_uint_least16 lc_host_uint_least13; 00129 typedef lc_host_uint_least16 lc_host_uint_least14; 00130 typedef lc_host_uint_least16 lc_host_uint_least15; 00131 00132 typedef unsigned int lc_host_uint_least32; 00133 typedef lc_host_uint_least32 lc_host_uint_least17; 00134 typedef lc_host_uint_least32 lc_host_uint_least18; 00135 typedef lc_host_uint_least32 lc_host_uint_least19; 00136 typedef lc_host_uint_least32 lc_host_uint_least20; 00137 typedef lc_host_uint_least32 lc_host_uint_least21; 00138 typedef lc_host_uint_least32 lc_host_uint_least22; 00139 typedef lc_host_uint_least32 lc_host_uint_least23; 00140 typedef lc_host_uint_least32 lc_host_uint_least24; 00141 typedef lc_host_uint_least32 lc_host_uint_least25; 00142 typedef lc_host_uint_least32 lc_host_uint_least26; 00143 typedef lc_host_uint_least32 lc_host_uint_least27; 00144 typedef lc_host_uint_least32 lc_host_uint_least28; 00145 typedef lc_host_uint_least32 lc_host_uint_least29; 00146 typedef lc_host_uint_least32 lc_host_uint_least30; 00147 typedef lc_host_uint_least32 lc_host_uint_least31; 00148 00149 #ifdef __HAVE_LONG_LONG 00150 typedef unsigned long long lc_host_uint_least64; 00151 typedef lc_host_uint_least64 lc_host_uint_least33; 00152 typedef lc_host_uint_least64 lc_host_uint_least34; 00153 typedef lc_host_uint_least64 lc_host_uint_least35; 00154 typedef lc_host_uint_least64 lc_host_uint_least36; 00155 typedef lc_host_uint_least64 lc_host_uint_least37; 00156 typedef lc_host_uint_least64 lc_host_uint_least38; 00157 typedef lc_host_uint_least64 lc_host_uint_least39; 00158 typedef lc_host_uint_least64 lc_host_uint_least40; 00159 typedef lc_host_uint_least64 lc_host_uint_least41; 00160 typedef lc_host_uint_least64 lc_host_uint_least42; 00161 typedef lc_host_uint_least64 lc_host_uint_least43; 00162 typedef lc_host_uint_least64 lc_host_uint_least44; 00163 typedef lc_host_uint_least64 lc_host_uint_least45; 00164 typedef lc_host_uint_least64 lc_host_uint_least46; 00165 typedef lc_host_uint_least64 lc_host_uint_least47; 00166 typedef lc_host_uint_least64 lc_host_uint_least48; 00167 typedef lc_host_uint_least64 lc_host_uint_least49; 00168 typedef lc_host_uint_least64 lc_host_uint_least50; 00169 typedef lc_host_uint_least64 lc_host_uint_least51; 00170 typedef lc_host_uint_least64 lc_host_uint_least52; 00171 typedef lc_host_uint_least64 lc_host_uint_least53; 00172 typedef lc_host_uint_least64 lc_host_uint_least54; 00173 typedef lc_host_uint_least64 lc_host_uint_least55; 00174 typedef lc_host_uint_least64 lc_host_uint_least56; 00175 typedef lc_host_uint_least64 lc_host_uint_least57; 00176 typedef lc_host_uint_least64 lc_host_uint_least58; 00177 typedef lc_host_uint_least64 lc_host_uint_least59; 00178 typedef lc_host_uint_least64 lc_host_uint_least60; 00179 typedef lc_host_uint_least64 lc_host_uint_least61; 00180 typedef lc_host_uint_least64 lc_host_uint_least62; 00181 typedef lc_host_uint_least64 lc_host_uint_least63; 00182 #endif 00183 00184 end_package(lestes); 00185 00186 #endif 00187 /* vim: set ft=lestes : */
1.5.1-20070107