diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-01 01:35:04 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-01 01:35:04 -0700 |
commit | 6130e39b18b5f53902e4eab14f6d5cdde5219563 (patch) | |
tree | 0db0628479a1b750e9af1f66cb8379ebd0913d31 /src/misc/extra/extraUtilCanon.c | |
parent | f0e77f6797c0504b0da25a56152b707d3357f386 (diff) | |
download | abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.gz abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.bz2 abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.zip |
initial commit of public abc
Diffstat (limited to 'src/misc/extra/extraUtilCanon.c')
-rw-r--r-- | src/misc/extra/extraUtilCanon.c | 603 |
1 files changed, 303 insertions, 300 deletions
diff --git a/src/misc/extra/extraUtilCanon.c b/src/misc/extra/extraUtilCanon.c index c9c199d8..99d5dc42 100644 --- a/src/misc/extra/extraUtilCanon.c +++ b/src/misc/extra/extraUtilCanon.c @@ -20,6 +20,9 @@ #include "extra.h" +ABC_NAMESPACE_IMPL_START + + /*---------------------------------------------------------------------------*/ /* Constant declarations */ /*---------------------------------------------------------------------------*/ @@ -36,8 +39,303 @@ /* Variable declarations */ /*---------------------------------------------------------------------------*/ -static unsigned s_Truths3[256]; -static char s_Phases3[256][9]; + +static unsigned s_Truths3[256] = +{ + 0x00000000, 0x01010101, 0x01010101, 0x03030303, 0x01010101, 0x05050505, 0x06060606, 0x07070707, + 0x01010101, 0x06060606, 0x05050505, 0x07070707, 0x03030303, 0x07070707, 0x07070707, 0x0f0f0f0f, + 0x01010101, 0x11111111, 0x12121212, 0x13131313, 0x14141414, 0x15151515, 0x16161616, 0x17171717, + 0x18181818, 0x19191919, 0x1a1a1a1a, 0x1b1b1b1b, 0x1c1c1c1c, 0x1d1d1d1d, 0x1e1e1e1e, 0x1f1f1f1f, + 0x01010101, 0x12121212, 0x11111111, 0x13131313, 0x18181818, 0x1a1a1a1a, 0x19191919, 0x1b1b1b1b, + 0x14141414, 0x16161616, 0x15151515, 0x17171717, 0x1c1c1c1c, 0x1e1e1e1e, 0x1d1d1d1d, 0x1f1f1f1f, + 0x03030303, 0x13131313, 0x13131313, 0x33333333, 0x1c1c1c1c, 0x35353535, 0x36363636, 0x37373737, + 0x1c1c1c1c, 0x36363636, 0x35353535, 0x37373737, 0x3c3c3c3c, 0x3d3d3d3d, 0x3d3d3d3d, 0x3f3f3f3f, + 0x01010101, 0x14141414, 0x18181818, 0x1c1c1c1c, 0x11111111, 0x15151515, 0x19191919, 0x1d1d1d1d, + 0x12121212, 0x16161616, 0x1a1a1a1a, 0x1e1e1e1e, 0x13131313, 0x17171717, 0x1b1b1b1b, 0x1f1f1f1f, + 0x05050505, 0x15151515, 0x1a1a1a1a, 0x35353535, 0x15151515, 0x55555555, 0x56565656, 0x57575757, + 0x1a1a1a1a, 0x56565656, 0x5a5a5a5a, 0x5b5b5b5b, 0x35353535, 0x57575757, 0x5b5b5b5b, 0x5f5f5f5f, + 0x06060606, 0x16161616, 0x19191919, 0x36363636, 0x19191919, 0x56565656, 0x66666666, 0x67676767, + 0x16161616, 0x69696969, 0x56565656, 0x6b6b6b6b, 0x36363636, 0x6b6b6b6b, 0x67676767, 0x6f6f6f6f, + 0x07070707, 0x17171717, 0x1b1b1b1b, 0x37373737, 0x1d1d1d1d, 0x57575757, 0x67676767, 0x77777777, + 0x1e1e1e1e, 0x6b6b6b6b, 0x5b5b5b5b, 0x7b7b7b7b, 0x3d3d3d3d, 0x7d7d7d7d, 0x7e7e7e7e, 0x7f7f7f7f, + 0x01010101, 0x18181818, 0x14141414, 0x1c1c1c1c, 0x12121212, 0x1a1a1a1a, 0x16161616, 0x1e1e1e1e, + 0x11111111, 0x19191919, 0x15151515, 0x1d1d1d1d, 0x13131313, 0x1b1b1b1b, 0x17171717, 0x1f1f1f1f, + 0x06060606, 0x19191919, 0x16161616, 0x36363636, 0x16161616, 0x56565656, 0x69696969, 0x6b6b6b6b, + 0x19191919, 0x66666666, 0x56565656, 0x67676767, 0x36363636, 0x67676767, 0x6b6b6b6b, 0x6f6f6f6f, + 0x05050505, 0x1a1a1a1a, 0x15151515, 0x35353535, 0x1a1a1a1a, 0x5a5a5a5a, 0x56565656, 0x5b5b5b5b, + 0x15151515, 0x56565656, 0x55555555, 0x57575757, 0x35353535, 0x5b5b5b5b, 0x57575757, 0x5f5f5f5f, + 0x07070707, 0x1b1b1b1b, 0x17171717, 0x37373737, 0x1e1e1e1e, 0x5b5b5b5b, 0x6b6b6b6b, 0x7b7b7b7b, + 0x1d1d1d1d, 0x67676767, 0x57575757, 0x77777777, 0x3d3d3d3d, 0x7e7e7e7e, 0x7d7d7d7d, 0x7f7f7f7f, + 0x03030303, 0x1c1c1c1c, 0x1c1c1c1c, 0x3c3c3c3c, 0x13131313, 0x35353535, 0x36363636, 0x3d3d3d3d, + 0x13131313, 0x36363636, 0x35353535, 0x3d3d3d3d, 0x33333333, 0x37373737, 0x37373737, 0x3f3f3f3f, + 0x07070707, 0x1d1d1d1d, 0x1e1e1e1e, 0x3d3d3d3d, 0x17171717, 0x57575757, 0x6b6b6b6b, 0x7d7d7d7d, + 0x1b1b1b1b, 0x67676767, 0x5b5b5b5b, 0x7e7e7e7e, 0x37373737, 0x77777777, 0x7b7b7b7b, 0x7f7f7f7f, + 0x07070707, 0x1e1e1e1e, 0x1d1d1d1d, 0x3d3d3d3d, 0x1b1b1b1b, 0x5b5b5b5b, 0x67676767, 0x7e7e7e7e, + 0x17171717, 0x6b6b6b6b, 0x57575757, 0x7d7d7d7d, 0x37373737, 0x7b7b7b7b, 0x77777777, 0x7f7f7f7f, + 0x0f0f0f0f, 0x1f1f1f1f, 0x1f1f1f1f, 0x3f3f3f3f, 0x1f1f1f1f, 0x5f5f5f5f, 0x6f6f6f6f, 0x7f7f7f7f, + 0x1f1f1f1f, 0x6f6f6f6f, 0x5f5f5f5f, 0x7f7f7f7f, 0x3f3f3f3f, 0x7f7f7f7f, 0x7f7f7f7f, 0xffffffff +}; + +static char s_Phases3[256][9] = +{ +/* 0 */ { 8, 0, 1, 2, 3, 4, 5, 6, 7 }, +/* 1 */ { 1, 0 }, +/* 2 */ { 1, 1 }, +/* 3 */ { 2, 0, 1 }, +/* 4 */ { 1, 2 }, +/* 5 */ { 2, 0, 2 }, +/* 6 */ { 2, 0, 3 }, +/* 7 */ { 1, 0 }, +/* 8 */ { 1, 3 }, +/* 9 */ { 2, 1, 2 }, +/* 10 */ { 2, 1, 3 }, +/* 11 */ { 1, 1 }, +/* 12 */ { 2, 2, 3 }, +/* 13 */ { 1, 2 }, +/* 14 */ { 1, 3 }, +/* 15 */ { 4, 0, 1, 2, 3 }, +/* 16 */ { 1, 4 }, +/* 17 */ { 2, 0, 4 }, +/* 18 */ { 2, 0, 5 }, +/* 19 */ { 1, 0 }, +/* 20 */ { 2, 0, 6 }, +/* 21 */ { 1, 0 }, +/* 22 */ { 1, 0 }, +/* 23 */ { 1, 0 }, +/* 24 */ { 2, 0, 7 }, +/* 25 */ { 1, 0 }, +/* 26 */ { 1, 0 }, +/* 27 */ { 1, 0 }, +/* 28 */ { 1, 0 }, +/* 29 */ { 1, 0 }, +/* 30 */ { 1, 0 }, +/* 31 */ { 1, 0 }, +/* 32 */ { 1, 5 }, +/* 33 */ { 2, 1, 4 }, +/* 34 */ { 2, 1, 5 }, +/* 35 */ { 1, 1 }, +/* 36 */ { 2, 1, 6 }, +/* 37 */ { 1, 1 }, +/* 38 */ { 1, 1 }, +/* 39 */ { 1, 1 }, +/* 40 */ { 2, 1, 7 }, +/* 41 */ { 1, 1 }, +/* 42 */ { 1, 1 }, +/* 43 */ { 1, 1 }, +/* 44 */ { 1, 1 }, +/* 45 */ { 1, 1 }, +/* 46 */ { 1, 1 }, +/* 47 */ { 1, 1 }, +/* 48 */ { 2, 4, 5 }, +/* 49 */ { 1, 4 }, +/* 50 */ { 1, 5 }, +/* 51 */ { 4, 0, 1, 4, 5 }, +/* 52 */ { 1, 6 }, +/* 53 */ { 1, 0 }, +/* 54 */ { 1, 0 }, +/* 55 */ { 1, 0 }, +/* 56 */ { 1, 7 }, +/* 57 */ { 1, 1 }, +/* 58 */ { 1, 1 }, +/* 59 */ { 1, 1 }, +/* 60 */ { 4, 0, 1, 6, 7 }, +/* 61 */ { 1, 0 }, +/* 62 */ { 1, 1 }, +/* 63 */ { 2, 0, 1 }, +/* 64 */ { 1, 6 }, +/* 65 */ { 2, 2, 4 }, +/* 66 */ { 2, 2, 5 }, +/* 67 */ { 1, 2 }, +/* 68 */ { 2, 2, 6 }, +/* 69 */ { 1, 2 }, +/* 70 */ { 1, 2 }, +/* 71 */ { 1, 2 }, +/* 72 */ { 2, 2, 7 }, +/* 73 */ { 1, 2 }, +/* 74 */ { 1, 2 }, +/* 75 */ { 1, 2 }, +/* 76 */ { 1, 2 }, +/* 77 */ { 1, 2 }, +/* 78 */ { 1, 2 }, +/* 79 */ { 1, 2 }, +/* 80 */ { 2, 4, 6 }, +/* 81 */ { 1, 4 }, +/* 82 */ { 1, 5 }, +/* 83 */ { 1, 4 }, +/* 84 */ { 1, 6 }, +/* 85 */ { 4, 0, 2, 4, 6 }, +/* 86 */ { 1, 0 }, +/* 87 */ { 1, 0 }, +/* 88 */ { 1, 7 }, +/* 89 */ { 1, 2 }, +/* 90 */ { 4, 0, 2, 5, 7 }, +/* 91 */ { 1, 0 }, +/* 92 */ { 1, 6 }, +/* 93 */ { 1, 2 }, +/* 94 */ { 1, 2 }, +/* 95 */ { 2, 0, 2 }, +/* 96 */ { 2, 4, 7 }, +/* 97 */ { 1, 4 }, +/* 98 */ { 1, 5 }, +/* 99 */ { 1, 4 }, +/* 100 */ { 1, 6 }, +/* 101 */ { 1, 4 }, +/* 102 */ { 4, 0, 3, 4, 7 }, +/* 103 */ { 1, 0 }, +/* 104 */ { 1, 7 }, +/* 105 */ { 4, 0, 3, 5, 6 }, +/* 106 */ { 1, 7 }, +/* 107 */ { 1, 0 }, +/* 108 */ { 1, 7 }, +/* 109 */ { 1, 3 }, +/* 110 */ { 1, 3 }, +/* 111 */ { 2, 0, 3 }, +/* 112 */ { 1, 4 }, +/* 113 */ { 1, 4 }, +/* 114 */ { 1, 5 }, +/* 115 */ { 1, 4 }, +/* 116 */ { 1, 6 }, +/* 117 */ { 1, 4 }, +/* 118 */ { 1, 4 }, +/* 119 */ { 2, 0, 4 }, +/* 120 */ { 1, 7 }, +/* 121 */ { 1, 5 }, +/* 122 */ { 1, 5 }, +/* 123 */ { 2, 0, 5 }, +/* 124 */ { 1, 6 }, +/* 125 */ { 2, 0, 6 }, +/* 126 */ { 2, 0, 7 }, +/* 127 */ { 1, 0 }, +/* 128 */ { 1, 7 }, +/* 129 */ { 2, 3, 4 }, +/* 130 */ { 2, 3, 5 }, +/* 131 */ { 1, 3 }, +/* 132 */ { 2, 3, 6 }, +/* 133 */ { 1, 3 }, +/* 134 */ { 1, 3 }, +/* 135 */ { 1, 3 }, +/* 136 */ { 2, 3, 7 }, +/* 137 */ { 1, 3 }, +/* 138 */ { 1, 3 }, +/* 139 */ { 1, 3 }, +/* 140 */ { 1, 3 }, +/* 141 */ { 1, 3 }, +/* 142 */ { 1, 3 }, +/* 143 */ { 1, 3 }, +/* 144 */ { 2, 5, 6 }, +/* 145 */ { 1, 4 }, +/* 146 */ { 1, 5 }, +/* 147 */ { 1, 5 }, +/* 148 */ { 1, 6 }, +/* 149 */ { 1, 6 }, +/* 150 */ { 4, 1, 2, 4, 7 }, +/* 151 */ { 1, 1 }, +/* 152 */ { 1, 7 }, +/* 153 */ { 4, 1, 2, 5, 6 }, +/* 154 */ { 1, 5 }, +/* 155 */ { 1, 1 }, +/* 156 */ { 1, 6 }, +/* 157 */ { 1, 2 }, +/* 158 */ { 1, 2 }, +/* 159 */ { 2, 1, 2 }, +/* 160 */ { 2, 5, 7 }, +/* 161 */ { 1, 4 }, +/* 162 */ { 1, 5 }, +/* 163 */ { 1, 5 }, +/* 164 */ { 1, 6 }, +/* 165 */ { 4, 1, 3, 4, 6 }, +/* 166 */ { 1, 3 }, +/* 167 */ { 1, 1 }, +/* 168 */ { 1, 7 }, +/* 169 */ { 1, 1 }, +/* 170 */ { 4, 1, 3, 5, 7 }, +/* 171 */ { 1, 1 }, +/* 172 */ { 1, 7 }, +/* 173 */ { 1, 3 }, +/* 174 */ { 1, 3 }, +/* 175 */ { 2, 1, 3 }, +/* 176 */ { 1, 5 }, +/* 177 */ { 1, 4 }, +/* 178 */ { 1, 5 }, +/* 179 */ { 1, 5 }, +/* 180 */ { 1, 6 }, +/* 181 */ { 1, 4 }, +/* 182 */ { 1, 4 }, +/* 183 */ { 2, 1, 4 }, +/* 184 */ { 1, 7 }, +/* 185 */ { 1, 5 }, +/* 186 */ { 1, 5 }, +/* 187 */ { 2, 1, 5 }, +/* 188 */ { 1, 7 }, +/* 189 */ { 2, 1, 6 }, +/* 190 */ { 2, 1, 7 }, +/* 191 */ { 1, 1 }, +/* 192 */ { 2, 6, 7 }, +/* 193 */ { 1, 4 }, +/* 194 */ { 1, 5 }, +/* 195 */ { 4, 2, 3, 4, 5 }, +/* 196 */ { 1, 6 }, +/* 197 */ { 1, 2 }, +/* 198 */ { 1, 3 }, +/* 199 */ { 1, 2 }, +/* 200 */ { 1, 7 }, +/* 201 */ { 1, 2 }, +/* 202 */ { 1, 3 }, +/* 203 */ { 1, 3 }, +/* 204 */ { 4, 2, 3, 6, 7 }, +/* 205 */ { 1, 2 }, +/* 206 */ { 1, 3 }, +/* 207 */ { 2, 2, 3 }, +/* 208 */ { 1, 6 }, +/* 209 */ { 1, 4 }, +/* 210 */ { 1, 5 }, +/* 211 */ { 1, 4 }, +/* 212 */ { 1, 6 }, +/* 213 */ { 1, 6 }, +/* 214 */ { 1, 7 }, +/* 215 */ { 2, 2, 4 }, +/* 216 */ { 1, 7 }, +/* 217 */ { 1, 6 }, +/* 218 */ { 1, 7 }, +/* 219 */ { 2, 2, 5 }, +/* 220 */ { 1, 6 }, +/* 221 */ { 2, 2, 6 }, +/* 222 */ { 2, 2, 7 }, +/* 223 */ { 1, 2 }, +/* 224 */ { 1, 7 }, +/* 225 */ { 1, 4 }, +/* 226 */ { 1, 5 }, +/* 227 */ { 1, 5 }, +/* 228 */ { 1, 6 }, +/* 229 */ { 1, 6 }, +/* 230 */ { 1, 7 }, +/* 231 */ { 2, 3, 4 }, +/* 232 */ { 1, 7 }, +/* 233 */ { 1, 6 }, +/* 234 */ { 1, 7 }, +/* 235 */ { 2, 3, 5 }, +/* 236 */ { 1, 7 }, +/* 237 */ { 2, 3, 6 }, +/* 238 */ { 2, 3, 7 }, +/* 239 */ { 1, 3 }, +/* 240 */ { 4, 4, 5, 6, 7 }, +/* 241 */ { 1, 4 }, +/* 242 */ { 1, 5 }, +/* 243 */ { 2, 4, 5 }, +/* 244 */ { 1, 6 }, +/* 245 */ { 2, 4, 6 }, +/* 246 */ { 2, 4, 7 }, +/* 247 */ { 1, 4 }, +/* 248 */ { 1, 7 }, +/* 249 */ { 2, 5, 6 }, +/* 250 */ { 2, 5, 7 }, +/* 251 */ { 1, 5 }, +/* 252 */ { 2, 6, 7 }, +/* 253 */ { 1, 6 }, +/* 254 */ { 1, 7 }, +/* 255 */ { 8, 0, 1, 2, 3, 4, 5, 6, 7 } +}; + /*---------------------------------------------------------------------------*/ /* Macro declarations */ @@ -299,7 +597,7 @@ void Map_Var3Print() { if ( i % 8 == 0 ) printf( "\n" ); - Extra_PrintHex( stdout, uCanons[i], 5 ); + Extra_PrintHex( stdout, uCanons + i, 5 ); printf( ", " ); } printf( "\n" ); @@ -384,305 +682,10 @@ void Map_Var4Test() /* Definition of static Functions */ /*---------------------------------------------------------------------------*/ -static unsigned s_Truths3[256] = -{ - 0x00000000, 0x01010101, 0x01010101, 0x03030303, 0x01010101, 0x05050505, 0x06060606, 0x07070707, - 0x01010101, 0x06060606, 0x05050505, 0x07070707, 0x03030303, 0x07070707, 0x07070707, 0x0f0f0f0f, - 0x01010101, 0x11111111, 0x12121212, 0x13131313, 0x14141414, 0x15151515, 0x16161616, 0x17171717, - 0x18181818, 0x19191919, 0x1a1a1a1a, 0x1b1b1b1b, 0x1c1c1c1c, 0x1d1d1d1d, 0x1e1e1e1e, 0x1f1f1f1f, - 0x01010101, 0x12121212, 0x11111111, 0x13131313, 0x18181818, 0x1a1a1a1a, 0x19191919, 0x1b1b1b1b, - 0x14141414, 0x16161616, 0x15151515, 0x17171717, 0x1c1c1c1c, 0x1e1e1e1e, 0x1d1d1d1d, 0x1f1f1f1f, - 0x03030303, 0x13131313, 0x13131313, 0x33333333, 0x1c1c1c1c, 0x35353535, 0x36363636, 0x37373737, - 0x1c1c1c1c, 0x36363636, 0x35353535, 0x37373737, 0x3c3c3c3c, 0x3d3d3d3d, 0x3d3d3d3d, 0x3f3f3f3f, - 0x01010101, 0x14141414, 0x18181818, 0x1c1c1c1c, 0x11111111, 0x15151515, 0x19191919, 0x1d1d1d1d, - 0x12121212, 0x16161616, 0x1a1a1a1a, 0x1e1e1e1e, 0x13131313, 0x17171717, 0x1b1b1b1b, 0x1f1f1f1f, - 0x05050505, 0x15151515, 0x1a1a1a1a, 0x35353535, 0x15151515, 0x55555555, 0x56565656, 0x57575757, - 0x1a1a1a1a, 0x56565656, 0x5a5a5a5a, 0x5b5b5b5b, 0x35353535, 0x57575757, 0x5b5b5b5b, 0x5f5f5f5f, - 0x06060606, 0x16161616, 0x19191919, 0x36363636, 0x19191919, 0x56565656, 0x66666666, 0x67676767, - 0x16161616, 0x69696969, 0x56565656, 0x6b6b6b6b, 0x36363636, 0x6b6b6b6b, 0x67676767, 0x6f6f6f6f, - 0x07070707, 0x17171717, 0x1b1b1b1b, 0x37373737, 0x1d1d1d1d, 0x57575757, 0x67676767, 0x77777777, - 0x1e1e1e1e, 0x6b6b6b6b, 0x5b5b5b5b, 0x7b7b7b7b, 0x3d3d3d3d, 0x7d7d7d7d, 0x7e7e7e7e, 0x7f7f7f7f, - 0x01010101, 0x18181818, 0x14141414, 0x1c1c1c1c, 0x12121212, 0x1a1a1a1a, 0x16161616, 0x1e1e1e1e, - 0x11111111, 0x19191919, 0x15151515, 0x1d1d1d1d, 0x13131313, 0x1b1b1b1b, 0x17171717, 0x1f1f1f1f, - 0x06060606, 0x19191919, 0x16161616, 0x36363636, 0x16161616, 0x56565656, 0x69696969, 0x6b6b6b6b, - 0x19191919, 0x66666666, 0x56565656, 0x67676767, 0x36363636, 0x67676767, 0x6b6b6b6b, 0x6f6f6f6f, - 0x05050505, 0x1a1a1a1a, 0x15151515, 0x35353535, 0x1a1a1a1a, 0x5a5a5a5a, 0x56565656, 0x5b5b5b5b, - 0x15151515, 0x56565656, 0x55555555, 0x57575757, 0x35353535, 0x5b5b5b5b, 0x57575757, 0x5f5f5f5f, - 0x07070707, 0x1b1b1b1b, 0x17171717, 0x37373737, 0x1e1e1e1e, 0x5b5b5b5b, 0x6b6b6b6b, 0x7b7b7b7b, - 0x1d1d1d1d, 0x67676767, 0x57575757, 0x77777777, 0x3d3d3d3d, 0x7e7e7e7e, 0x7d7d7d7d, 0x7f7f7f7f, - 0x03030303, 0x1c1c1c1c, 0x1c1c1c1c, 0x3c3c3c3c, 0x13131313, 0x35353535, 0x36363636, 0x3d3d3d3d, - 0x13131313, 0x36363636, 0x35353535, 0x3d3d3d3d, 0x33333333, 0x37373737, 0x37373737, 0x3f3f3f3f, - 0x07070707, 0x1d1d1d1d, 0x1e1e1e1e, 0x3d3d3d3d, 0x17171717, 0x57575757, 0x6b6b6b6b, 0x7d7d7d7d, - 0x1b1b1b1b, 0x67676767, 0x5b5b5b5b, 0x7e7e7e7e, 0x37373737, 0x77777777, 0x7b7b7b7b, 0x7f7f7f7f, - 0x07070707, 0x1e1e1e1e, 0x1d1d1d1d, 0x3d3d3d3d, 0x1b1b1b1b, 0x5b5b5b5b, 0x67676767, 0x7e7e7e7e, - 0x17171717, 0x6b6b6b6b, 0x57575757, 0x7d7d7d7d, 0x37373737, 0x7b7b7b7b, 0x77777777, 0x7f7f7f7f, - 0x0f0f0f0f, 0x1f1f1f1f, 0x1f1f1f1f, 0x3f3f3f3f, 0x1f1f1f1f, 0x5f5f5f5f, 0x6f6f6f6f, 0x7f7f7f7f, - 0x1f1f1f1f, 0x6f6f6f6f, 0x5f5f5f5f, 0x7f7f7f7f, 0x3f3f3f3f, 0x7f7f7f7f, 0x7f7f7f7f, 0xffffffff -}; - -static char s_Phases3[256][9] = -{ -/* 0 */ { 8, 0, 1, 2, 3, 4, 5, 6, 7 }, -/* 1 */ { 1, 0 }, -/* 2 */ { 1, 1 }, -/* 3 */ { 2, 0, 1 }, -/* 4 */ { 1, 2 }, -/* 5 */ { 2, 0, 2 }, -/* 6 */ { 2, 0, 3 }, -/* 7 */ { 1, 0 }, -/* 8 */ { 1, 3 }, -/* 9 */ { 2, 1, 2 }, -/* 10 */ { 2, 1, 3 }, -/* 11 */ { 1, 1 }, -/* 12 */ { 2, 2, 3 }, -/* 13 */ { 1, 2 }, -/* 14 */ { 1, 3 }, -/* 15 */ { 4, 0, 1, 2, 3 }, -/* 16 */ { 1, 4 }, -/* 17 */ { 2, 0, 4 }, -/* 18 */ { 2, 0, 5 }, -/* 19 */ { 1, 0 }, -/* 20 */ { 2, 0, 6 }, -/* 21 */ { 1, 0 }, -/* 22 */ { 1, 0 }, -/* 23 */ { 1, 0 }, -/* 24 */ { 2, 0, 7 }, -/* 25 */ { 1, 0 }, -/* 26 */ { 1, 0 }, -/* 27 */ { 1, 0 }, -/* 28 */ { 1, 0 }, -/* 29 */ { 1, 0 }, -/* 30 */ { 1, 0 }, -/* 31 */ { 1, 0 }, -/* 32 */ { 1, 5 }, -/* 33 */ { 2, 1, 4 }, -/* 34 */ { 2, 1, 5 }, -/* 35 */ { 1, 1 }, -/* 36 */ { 2, 1, 6 }, -/* 37 */ { 1, 1 }, -/* 38 */ { 1, 1 }, -/* 39 */ { 1, 1 }, -/* 40 */ { 2, 1, 7 }, -/* 41 */ { 1, 1 }, -/* 42 */ { 1, 1 }, -/* 43 */ { 1, 1 }, -/* 44 */ { 1, 1 }, -/* 45 */ { 1, 1 }, -/* 46 */ { 1, 1 }, -/* 47 */ { 1, 1 }, -/* 48 */ { 2, 4, 5 }, -/* 49 */ { 1, 4 }, -/* 50 */ { 1, 5 }, -/* 51 */ { 4, 0, 1, 4, 5 }, -/* 52 */ { 1, 6 }, -/* 53 */ { 1, 0 }, -/* 54 */ { 1, 0 }, -/* 55 */ { 1, 0 }, -/* 56 */ { 1, 7 }, -/* 57 */ { 1, 1 }, -/* 58 */ { 1, 1 }, -/* 59 */ { 1, 1 }, -/* 60 */ { 4, 0, 1, 6, 7 }, -/* 61 */ { 1, 0 }, -/* 62 */ { 1, 1 }, -/* 63 */ { 2, 0, 1 }, -/* 64 */ { 1, 6 }, -/* 65 */ { 2, 2, 4 }, -/* 66 */ { 2, 2, 5 }, -/* 67 */ { 1, 2 }, -/* 68 */ { 2, 2, 6 }, -/* 69 */ { 1, 2 }, -/* 70 */ { 1, 2 }, -/* 71 */ { 1, 2 }, -/* 72 */ { 2, 2, 7 }, -/* 73 */ { 1, 2 }, -/* 74 */ { 1, 2 }, -/* 75 */ { 1, 2 }, -/* 76 */ { 1, 2 }, -/* 77 */ { 1, 2 }, -/* 78 */ { 1, 2 }, -/* 79 */ { 1, 2 }, -/* 80 */ { 2, 4, 6 }, -/* 81 */ { 1, 4 }, -/* 82 */ { 1, 5 }, -/* 83 */ { 1, 4 }, -/* 84 */ { 1, 6 }, -/* 85 */ { 4, 0, 2, 4, 6 }, -/* 86 */ { 1, 0 }, -/* 87 */ { 1, 0 }, -/* 88 */ { 1, 7 }, -/* 89 */ { 1, 2 }, -/* 90 */ { 4, 0, 2, 5, 7 }, -/* 91 */ { 1, 0 }, -/* 92 */ { 1, 6 }, -/* 93 */ { 1, 2 }, -/* 94 */ { 1, 2 }, -/* 95 */ { 2, 0, 2 }, -/* 96 */ { 2, 4, 7 }, -/* 97 */ { 1, 4 }, -/* 98 */ { 1, 5 }, -/* 99 */ { 1, 4 }, -/* 100 */ { 1, 6 }, -/* 101 */ { 1, 4 }, -/* 102 */ { 4, 0, 3, 4, 7 }, -/* 103 */ { 1, 0 }, -/* 104 */ { 1, 7 }, -/* 105 */ { 4, 0, 3, 5, 6 }, -/* 106 */ { 1, 7 }, -/* 107 */ { 1, 0 }, -/* 108 */ { 1, 7 }, -/* 109 */ { 1, 3 }, -/* 110 */ { 1, 3 }, -/* 111 */ { 2, 0, 3 }, -/* 112 */ { 1, 4 }, -/* 113 */ { 1, 4 }, -/* 114 */ { 1, 5 }, -/* 115 */ { 1, 4 }, -/* 116 */ { 1, 6 }, -/* 117 */ { 1, 4 }, -/* 118 */ { 1, 4 }, -/* 119 */ { 2, 0, 4 }, -/* 120 */ { 1, 7 }, -/* 121 */ { 1, 5 }, -/* 122 */ { 1, 5 }, -/* 123 */ { 2, 0, 5 }, -/* 124 */ { 1, 6 }, -/* 125 */ { 2, 0, 6 }, -/* 126 */ { 2, 0, 7 }, -/* 127 */ { 1, 0 }, -/* 128 */ { 1, 7 }, -/* 129 */ { 2, 3, 4 }, -/* 130 */ { 2, 3, 5 }, -/* 131 */ { 1, 3 }, -/* 132 */ { 2, 3, 6 }, -/* 133 */ { 1, 3 }, -/* 134 */ { 1, 3 }, -/* 135 */ { 1, 3 }, -/* 136 */ { 2, 3, 7 }, -/* 137 */ { 1, 3 }, -/* 138 */ { 1, 3 }, -/* 139 */ { 1, 3 }, -/* 140 */ { 1, 3 }, -/* 141 */ { 1, 3 }, -/* 142 */ { 1, 3 }, -/* 143 */ { 1, 3 }, -/* 144 */ { 2, 5, 6 }, -/* 145 */ { 1, 4 }, -/* 146 */ { 1, 5 }, -/* 147 */ { 1, 5 }, -/* 148 */ { 1, 6 }, -/* 149 */ { 1, 6 }, -/* 150 */ { 4, 1, 2, 4, 7 }, -/* 151 */ { 1, 1 }, -/* 152 */ { 1, 7 }, -/* 153 */ { 4, 1, 2, 5, 6 }, -/* 154 */ { 1, 5 }, -/* 155 */ { 1, 1 }, -/* 156 */ { 1, 6 }, -/* 157 */ { 1, 2 }, -/* 158 */ { 1, 2 }, -/* 159 */ { 2, 1, 2 }, -/* 160 */ { 2, 5, 7 }, -/* 161 */ { 1, 4 }, -/* 162 */ { 1, 5 }, -/* 163 */ { 1, 5 }, -/* 164 */ { 1, 6 }, -/* 165 */ { 4, 1, 3, 4, 6 }, -/* 166 */ { 1, 3 }, -/* 167 */ { 1, 1 }, -/* 168 */ { 1, 7 }, -/* 169 */ { 1, 1 }, -/* 170 */ { 4, 1, 3, 5, 7 }, -/* 171 */ { 1, 1 }, -/* 172 */ { 1, 7 }, -/* 173 */ { 1, 3 }, -/* 174 */ { 1, 3 }, -/* 175 */ { 2, 1, 3 }, -/* 176 */ { 1, 5 }, -/* 177 */ { 1, 4 }, -/* 178 */ { 1, 5 }, -/* 179 */ { 1, 5 }, -/* 180 */ { 1, 6 }, -/* 181 */ { 1, 4 }, -/* 182 */ { 1, 4 }, -/* 183 */ { 2, 1, 4 }, -/* 184 */ { 1, 7 }, -/* 185 */ { 1, 5 }, -/* 186 */ { 1, 5 }, -/* 187 */ { 2, 1, 5 }, -/* 188 */ { 1, 7 }, -/* 189 */ { 2, 1, 6 }, -/* 190 */ { 2, 1, 7 }, -/* 191 */ { 1, 1 }, -/* 192 */ { 2, 6, 7 }, -/* 193 */ { 1, 4 }, -/* 194 */ { 1, 5 }, -/* 195 */ { 4, 2, 3, 4, 5 }, -/* 196 */ { 1, 6 }, -/* 197 */ { 1, 2 }, -/* 198 */ { 1, 3 }, -/* 199 */ { 1, 2 }, -/* 200 */ { 1, 7 }, -/* 201 */ { 1, 2 }, -/* 202 */ { 1, 3 }, -/* 203 */ { 1, 3 }, -/* 204 */ { 4, 2, 3, 6, 7 }, -/* 205 */ { 1, 2 }, -/* 206 */ { 1, 3 }, -/* 207 */ { 2, 2, 3 }, -/* 208 */ { 1, 6 }, -/* 209 */ { 1, 4 }, -/* 210 */ { 1, 5 }, -/* 211 */ { 1, 4 }, -/* 212 */ { 1, 6 }, -/* 213 */ { 1, 6 }, -/* 214 */ { 1, 7 }, -/* 215 */ { 2, 2, 4 }, -/* 216 */ { 1, 7 }, -/* 217 */ { 1, 6 }, -/* 218 */ { 1, 7 }, -/* 219 */ { 2, 2, 5 }, -/* 220 */ { 1, 6 }, -/* 221 */ { 2, 2, 6 }, -/* 222 */ { 2, 2, 7 }, -/* 223 */ { 1, 2 }, -/* 224 */ { 1, 7 }, -/* 225 */ { 1, 4 }, -/* 226 */ { 1, 5 }, -/* 227 */ { 1, 5 }, -/* 228 */ { 1, 6 }, -/* 229 */ { 1, 6 }, -/* 230 */ { 1, 7 }, -/* 231 */ { 2, 3, 4 }, -/* 232 */ { 1, 7 }, -/* 233 */ { 1, 6 }, -/* 234 */ { 1, 7 }, -/* 235 */ { 2, 3, 5 }, -/* 236 */ { 1, 7 }, -/* 237 */ { 2, 3, 6 }, -/* 238 */ { 2, 3, 7 }, -/* 239 */ { 1, 3 }, -/* 240 */ { 4, 4, 5, 6, 7 }, -/* 241 */ { 1, 4 }, -/* 242 */ { 1, 5 }, -/* 243 */ { 2, 4, 5 }, -/* 244 */ { 1, 6 }, -/* 245 */ { 2, 4, 6 }, -/* 246 */ { 2, 4, 7 }, -/* 247 */ { 1, 4 }, -/* 248 */ { 1, 7 }, -/* 249 */ { 2, 5, 6 }, -/* 250 */ { 2, 5, 7 }, -/* 251 */ { 1, 5 }, -/* 252 */ { 2, 6, 7 }, -/* 253 */ { 1, 6 }, -/* 254 */ { 1, 7 }, -/* 255 */ { 8, 0, 1, 2, 3, 4, 5, 6, 7 } -}; - - //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// +ABC_NAMESPACE_IMPL_END + |