static unsigned int gc_core2block[2] = {0,1};
static unsigned int gc_block2core[2] = { 0, 0};
+#elif defined GC_2
+// NUMCORES4GC = 2
+static unsigned int gc_core2block[4] = {
+ 0,3,
+ 1,2
+};
+
+static unsigned int gc_block2core[4] = {
+ 0, 1,
+ 1, 0
+};
+#elif defined GC_4
+// NUMCORES4GC = 4
+static unsigned int gc_core2block[8] = {
+ 0,7, 3,4,
+ 1,6, 2,5
+};
+
+static unsigned int gc_block2core[8] = {
+ 0, 2, 3, 1,
+ 1, 3, 2, 0
+};
+#elif defined GC_8
+// NUMCORES4GC = 8
+static unsigned int gc_core2block[16] = {
+ 0,15, 3,12, 4,11, 7,8,
+ 1,14, 2,13, 5,10, 6,9
+};
+
+static unsigned int gc_block2core[16] = {
+ 0, 4, 5, 1, 2, 6, 7, 3,
+ 3, 7, 6, 2, 1, 5, 4, 0
+};
+#elif defined GC_16
+// NUMCORES4GC = 16
+static unsigned int gc_core2block[32] = {
+ 0,31, 7,24, 8,23, 15,16,
+ 1,30, 6,25, 9,22, 14,17,
+ 2,29, 5,26, 10,21, 13,18,
+ 3,28, 4,27, 11,20, 12,19
+};
+
+static unsigned int gc_block2core[32] = {
+ 0, 4, 8, 12, 13, 9, 5, 1,
+ 2, 6, 10, 14, 15, 11, 7, 3,
+ 3, 7, 11, 15, 14, 10, 6, 2,
+ 1, 5, 9, 13, 12, 8, 4, 0
+};
+#elif defined GC_32
+// NUMCORES4GC = 32
+static unsigned int gc_core2block[64] = {
+ 0,63, 15,48, 16,47, 31,32,
+ 1,62, 14,49, 17,46, 30,33,
+ 2,61, 13,50, 18,45, 29,34,
+ 3,60, 12,51, 19,44, 28,35,
+ 4,59, 11,52, 20,43, 27,36,
+ 5,58, 10,53, 21,42, 26,37,
+ 6,57, 9,54, 22,41, 25,38,
+ 7,56, 8,55, 23,40, 24,39
+};
+
+static unsigned int gc_block2core[64] = {
+ 0, 4, 8, 12, 16, 20, 24, 28, 29, 25, 21, 17, 13, 9, 5, 1,
+ 2, 6, 10, 14, 18, 22, 26, 30, 31, 27, 23, 19, 15, 11, 7, 3,
+ 3, 7, 11, 15, 19, 23, 27, 31, 30, 26, 22, 18, 14, 10, 6, 2,
+ 1, 5, 9, 13, 17, 21, 25, 29, 28, 24, 20, 16, 12, 8, 4, 0
+};
+#elif defined GC_48
+// NUMCORES4GC = 50
+static unsigned int gc_core2block[96] = {
+ 0,95, 15,80, 16,79, 31,64, 32,63, 47,48,
+ 1,94, 14,81, 17,78, 30,65, 33,62, 46,49,
+ 2,93, 13,82, 18,77, 29,66, 34,61, 45,50,
+ 3,92, 12,83, 19,76, 28,67, 35,60, 44,51,
+ 4,91, 11,84, 20,75, 27,68, 36,59, 43,52,
+ 5,90, 10,85, 21,74, 26,69, 37,58, 42,53,
+ 6,89, 9,86, 22,73, 25,70, 38,57, 41,54,
+ 7,88, 8,87, 23,72, 24,71, 39,56, 40,55
+};
+
+static unsigned int gc_block2core[96] = {
+ 0, 6, 12, 18, 24, 30, 36, 42, 43, 37, 31, 25, 19, 13, 7, 1,
+ 2, 8, 14, 20, 26, 32, 38, 44, 45, 39, 33, 27, 21, 15, 9, 3,
+ 4, 10, 16, 22, 28, 34, 40, 46, 47, 41, 35, 29, 23, 17, 11, 5,
+ 5, 11, 17, 23, 29, 35, 41, 47, 46, 40, 34, 28, 22, 16, 10, 4,
+ 3, 9, 15, 21, 27, 33, 39, 45, 44, 38, 32, 26, 20, 14, 8, 2,
+ 1, 7, 13, 19, 25, 31, 37, 43, 42, 36, 30, 24, 18, 12, 6, 0
+};
+#elif defined GC_50
+// NUMCORES4GC = 50
+static unsigned int gc_core2block[100] = {
+ 0,99, 15,84, 16,83, 31,68, 32,67, 47,52,
+ 1,98, 14,85, 17,82, 30,69, 33,66, 46,53,
+ 2,97, 13,86, 18,81, 29,70, 34,65, 45,54,
+ 3,96, 12,87, 19,80, 28,71, 35,64, 44,55,
+ 4,95, 11,88, 20,79, 27,72, 36,63, 43,56,
+ 5,94, 10,89, 21,78, 26,73, 37,62, 42,57,
+ 6,93, 9,90, 22,77, 25,74, 38,61, 41,58, 48,51,
+ 7,92, 8,91, 23,76, 24,75, 39,60, 40,59, 49,50
+};
+
+static unsigned int gc_block2core[100] = {
+ 0, 6, 12, 18, 24, 30, 36, 43, 44, 37, 31, 25, 19, 13, 7, 1,
+ 2, 8, 14, 20, 26, 32, 38, 45, 46, 39, 33, 27, 21, 15, 9, 3,
+ 4, 10, 16, 22, 28, 34, 40, 47, 48, 41, 35, 29, 23, 17, 11, 5,
+ 42, 49, 49, 42,
+ 5, 11, 17, 23, 29, 35, 41, 48, 47, 40, 34, 28, 22, 16, 10, 4,
+ 3, 9, 15, 21, 27, 33, 39, 46, 45, 38, 32, 26, 20, 14, 8, 2,
+ 1, 7, 13, 19, 25, 31, 37, 44, 43, 36, 30, 24, 18, 12, 6, 0
+};
#elif defined GC_56
// NUMCORES4GC = 56
static unsigned int gc_core2block[112] = {
int core2test[1][NUM_CORES2TEST] = {
{0, -1, -1, -1, -1, -1, -1, -1, -1}
};
+#elif defined GC_2
+int core2test[2][NUM_CORES2TEST] = {
+ { 0, -1, -1, -1, 1, -1, -1, -1, -1, -1, -1, -1, -1},
+ { 1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
+};
+#elif defined GC_4
+int core2test[4][NUM_CORES2TEST] = {
+ { 0, -1, -1, 2, 1, -1, -1, -1, -1, -1, -1, -1, -1},
+ { 1, -1, 0, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1},
+ { 2, 0, -1, -1, 3, -1, -1, -1, -1, -1, -1, -1, -1},
+ { 3, 1, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
+};
+#elif defined GC_8
+int core2test[8][NUM_CORES2TEST] = {
+ { 0, -1, -1, 4, 1, -1, -1, -1, -1, -1, 5, 2, -1},
+ { 1, -1, 0, 5, 2, -1, -1, -1, 4, -1, 6, 3, -1},
+ { 2, -1, 1, 6, 3, -1, -1, 0, 5, -1, 7, -1, -1},
+ { 3, -1, 2, 7, -1, -1, -1, 1, 6, -1, -1, -1, -1},
+ { 4, 0, -1, -1, 5, -1, -1, -1, -1, -1, -1, 6, 1},
+ { 5, 1, 4, -1, 6, -1, 0, -1, -1, -1, -1, 7, 2},
+ { 6, 2, 5, -1, 7, -1, 1, 4, -1, -1, -1, -1, 3},
+ { 7, 3, 6, -1, -1, -1, 2, 5, -1, -1, -1, -1, -1}
+};
+#elif defined GC_16
+int core2test[16][NUM_CORES2TEST] = {
+ { 0, -1, -1, 4, 1, -1, -1, -1, -1, 8, 5, 2, -1},
+ { 1, -1, 0, 5, 2, -1, -1, -1, 4, 9, 6, 3, -1},
+ { 2, -1, 1, 6, 3, -1, -1, 0, 5, 10, 7, -1, -1},
+ { 3, -1, 2, 7, -1, -1, -1, 1, 6, 11, -1, -1, -1},
+ { 4, 0, -1, 8, 5, -1, -1, -1, -1, 12, 9, 6, 1},
+ { 5, 1, 4, 9, 6, -1, 0, -1, 8, 13, 10, 7, 2},
+ { 6, 2, 5, 10, 7, -1, 1, 4, 9, 14, 11, -1, 3},
+ { 7, 3, 6, 11, -1, -1, 2, 5, 10, 15, -1, -1, -1},
+ { 8, 4, -1, 12, 9, 0, -1, -1, -1, -1, 13, 10, 5},
+ { 9, 5, 8, 13, 10, 1, 4, -1, 12, -1, 14, 11, 6},
+ {10, 6, 9, 14, 11, 2, 5, 8, 13, -1, 15, -1, 7},
+ {11, 7, 10, 15, -1, 3, 6, 9, 14, -1, -1, -1, -1},
+ {12, 8, -1, -1, 13, 4, -1, -1, -1, -1, -1, 14, 9},
+ {13, 9, 12, -1, 14, 5, 8, -1, -1, -1, -1, 15, 10},
+ {14, 10, 13, -1, 15, 6, 9, 12, -1, -1, -1, -1, 11},
+ {15, 11, 14, -1, -1, 7, 10, 13, -1, -1, -1, -1, -1}
+};
+#elif defined GC_32
+int core2test[32][NUM_CORES2TEST] = {
+ { 0, -1, -1, 4, 1, -1, -1, -1, -1, 8, 5, 2, -1},
+ { 1, -1, 0, 5, 2, -1, -1, -1, 4, 9, 6, 3, -1},
+ { 2, -1, 1, 6, 3, -1, -1, 0, 5, 10, 7, -1, -1},
+ { 3, -1, 2, 7, -1, -1, -1, 1, 6, 11, -1, -1, -1},
+ { 4, 0, -1, 8, 5, -1, -1, -1, -1, 12, 9, 6, 1},
+ { 5, 1, 4, 9, 6, -1, 0, -1, 8, 13, 10, 7, 2},
+ { 6, 2, 5, 10, 7, -1, 1, 4, 9, 14, 11, -1, 3},
+ { 7, 3, 6, 11, -1, -1, 2, 5, 10, 15, -1, -1, -1},
+ { 8, 4, -1, 12, 9, 0, -1, -1, -1, 16, 13, 10, 5},
+ { 9, 5, 8, 13, 10, 1, 4, -1, 12, 17, 14, 11, 6},
+ {10, 6, 9, 14, 11, 2, 5, 8, 13, 18, 15, -1, 7},
+ {11, 7, 10, 15, -1, 3, 6, 9, 14, 19, -1, -1, -1},
+ {12, 8, -1, 16, 13, 4, -1, -1, -1, 20, 17, 14, 9},
+ {13, 9, 12, 17, 14, 5, 8, -1, 16, 21, 18, 15, 10},
+ {14, 10, 13, 18, 15, 6, 9, 12, 17, 22, 19, -1, 11},
+ {15, 11, 14, 19, -1, 7, 10, 13, 18, 23, -1, -1, -1},
+ {16, 12, -1, 20, 17, 8, -1, -1, -1, 24, 21, 18, 13},
+ {17, 13, 16, 21, 18, 9, 12, -1, 20, 25, 22, 19, 14},
+ {18, 14, 17, 22, 19, 10, 13, 16, 21, 26, 23, -1, 15},
+ {19, 15, 18, 23, -1, 11, 14, 17, 22, 27, -1, -1, -1},
+ {20, 16, -1, 24, 21, 12, -1, -1, -1, 28, 25, 22, 17},
+ {21, 17, 20, 25, 22, 13, 16, -1, 24, 29, 26, 23, 18},
+ {22, 18, 21, 26, 23, 14, 17, 20, 25, 30, 27, -1, 19},
+ {23, 19, 22, 27, -1, 15, 18, 21, 26, 31, -1, -1, -1},
+ {24, 20, -1, 28, 25, 16, -1, -1, -1, -1, 29, 26, 21},
+ {25, 21, 24, 29, 26, 17, 20, -1, 28, -1, 30, 27, 22},
+ {26, 22, 25, 30, 27, 18, 21, 24, 29, -1, 31, -1, 23},
+ {27, 23, 26, 31, -1, 19, 22, 25, 30, -1, -1, -1, -1},
+ {28, 24, -1, -1, 29, 20, -1, -1, -1, -1, -1, 30, 25},
+ {29, 25, 28, -1, 30, 21, 24, -1, -1, -1, -1, 31, 26},
+ {30, 26, 29, -1, 31, 22, 25, 28, -1, -1, -1, -1, 27},
+ {31, 27, 30, -1, -1, 23, 26, 29, -1, -1, -1, -1, -1}
+};
+#elif defined GC_36
+int core2test[36][NUM_CORES2TEST] = {
+ { 0, -1, -1, 6, 1, -1, -1, -1, -1, 12, 7, 2, -1},
+ { 1, -1, 0, 7, 2, -1, -1, -1, 6, 13, 8, 3, -1},
+ { 2, -1, 1, 8, 3, -1, -1, 0, 7, 14, 9, 4, -1},
+ { 3, -1, 2, 9, 4, -1, -1, 1, 8, 15, 10, 5, -1},
+ { 4, -1, 3, 10, 5, -1, -1, 2, 9, 16, 11, -1, -1},
+ { 5, -1, 4, 11, -1, -1, -1, 3, 10, 17, -1, -1, -1},
+ { 6, 0, -1, 12, 7, -1, -1, -1, -1, 18, 13, 8, 1},
+ { 7, 1, 6, 13, 8, -1, 0, -1, 12, 19, 14, 9, 2},
+ { 8, 2, 7, 14, 9, -1, 1, 6, 13, 20, 15, 10, 3},
+ { 9, 3, 8, 15, 10, -1, 2, 7, 14, 21, 16, 11, 4},
+ {10, 4, 9, 16, 11, -1, 3, 8, 15, 22, 17, -1, 5},
+ {11, 5, 10, 17, -1, -1, 4, 9, 16, 23, -1, -1, -1},
+ {12, 6, -1, 18, 13, 0, -1, -1, -1, 24, 19, 14, 7},
+ {13, 7, 12, 19, 14, 1, 6, -1, 18, 25, 20, 15, 8},
+ {14, 8, 13, 20, 15, 2, 7, 12, 19, 26, 21, 16, 9},
+ {15, 9, 14, 21, 16, 3, 8, 13, 20, 27, 22, 17, 10},
+ {16, 10, 15, 22, 17, 4, 9, 14, 21, 28, 23, -1, 11},
+ {17, 11, 16, 23, -1, 5, 10, 15, 22, 29, -1, -1, -1},
+ {18, 12, -1, 24, 19, 6, -1, -1, -1, 30, 25, 20, 13},
+ {19, 13, 18, 25, 20, 7, 12, -1, 24, 31, 26, 21, 14},
+ {20, 14, 19, 26, 21, 8, 13, 18, 25, 32, 27, 22, 15},
+ {21, 15, 20, 27, 22, 9, 14, 19, 26, 33, 28, 23, 16},
+ {22, 16, 21, 28, 23, 10, 15, 20, 27, 34, 29, -1, 17},
+ {23, 17, 22, 29, -1, 11, 16, 21, 28, 35, -1, -1, -1},
+ {24, 18, -1, 30, 25, 12, -1, -1, -1, -1, 31, 26, 19},
+ {25, 19, 24, 31, 26, 13, 18, -1, 30, -1, 32, 27, 20},
+ {26, 20, 25, 32, 27, 14, 19, 24, 31, -1, 33, 28, 21},
+ {27, 21, 26, 33, 28, 15, 20, 25, 32, -1, 34, 29, 22},
+ {28, 22, 27, 34, 29, 16, 21, 26, 33, -1, 35, -1, 23},
+ {29, 23, 28, 35, -1, 17, 22, 27, 34, -1, -1, -1, -1},
+ {30, 24, -1, -1, 31, 18, -1, -1, -1, -1, -1, 32, 25},
+ {31, 25, 30, -1, 32, 19, 24, -1, -1, -1, -1, 33, 26},
+ {32, 26, 31, -1, 33, 20, 25, 30, -1, -1, -1, 34, 27},
+ {33, 27, 32, -1, 34, 21, 26, 31, -1, -1, -1, 35, 28},
+ {34, 28, 33, -1, 35, 22, 27, 32, -1, -1, -1, -1, 29},
+ {35, 29, 34, -1, -1, 23, 28, 33, -1, -1, -1, -1, -1}
+};
+#elif defined GC_48
+int core2test[48][NUM_CORES2TEST] = {
+ { 0, -1, -1, 6, 1, -1, -1, -1, -1, 12, 7, 2, -1},
+ { 1, -1, 0, 7, 2, -1, -1, -1, 6, 13, 8, 3, -1},
+ { 2, -1, 1, 8, 3, -1, -1, 0, 7, 14, 9, 4, -1},
+ { 3, -1, 2, 9, 4, -1, -1, 1, 8, 15, 10, 5, -1},
+ { 4, -1, 3, 10, 5, -1, -1, 2, 9, 16, 11, -1, -1},
+ { 5, -1, 4, 11, -1, -1, -1, 3, 10, 17, -1, -1, -1},
+ { 6, 0, -1, 12, 7, -1, -1, -1, -1, 18, 13, 8, 1},
+ { 7, 1, 6, 13, 8, -1, 0, -1, 12, 19, 14, 9, 2},
+ { 8, 2, 7, 14, 9, -1, 1, 6, 13, 20, 15, 10, 3},
+ { 9, 3, 8, 15, 10, -1, 2, 7, 14, 21, 16, 11, 4},
+ {10, 4, 9, 16, 11, -1, 3, 8, 15, 22, 17, -1, 5},
+ {11, 5, 10, 17, -1, -1, 4, 9, 16, 23, -1, -1, -1},
+ {12, 6, -1, 18, 13, 0, -1, -1, -1, 24, 19, 14, 7},
+ {13, 7, 12, 29, 14, 1, 6, -1, 18, 25, 20, 15, 8},
+ {14, 8, 13, 20, 15, 2, 7, 12, 19, 26, 21, 16, 9},
+ {15, 9, 14, 21, 16, 3, 8, 13, 20, 27, 22, 17, 10},
+ {16, 10, 15, 22, 17, 4, 9, 14, 21, 28, 23, -1, 11},
+ {17, 11, 16, 23, -1, 5, 10, 15, 22, 29, -1, -1, -1},
+ {18, 12, -1, 24, 19, 6, -1, -1, -1, 30, 25, 20, 13},
+ {19, 13, 18, 25, 20, 7, 12, -1, 24, 31, 26, 21, 14},
+ {20, 14, 19, 26, 21, 8, 13, 18, 25, 32, 27, 22, 15},
+ {21, 15, 20, 27, 22, 9, 14, 19, 26, 33, 28, 23, 16},
+ {22, 16, 21, 28, 23, 10, 15, 20, 27, 34, 29, -1, 17},
+ {23, 17, 22, 29, -1, 11, 16, 21, 28, 35, -1, -1, -1},
+ {24, 18, -1, 30, 25, 12, -1, -1, -1, 36, 31, 26, 19},
+ {25, 19, 24, 31, 26, 13, 18, -1, 30, 37, 32, 27, 20},
+ {26, 20, 25, 32, 27, 14, 19, 24, 31, 38, 33, 28, 21},
+ {27, 21, 26, 33, 28, 15, 20, 25, 32, 39, 34, 29, 22},
+ {28, 22, 27, 34, 29, 16, 21, 26, 33, 40, 35, -1, 23},
+ {29, 23, 28, 35, -1, 17, 22, 27, 34, 41, -1, -1, -1},
+ {30, 24, -1, 36, 31, 18, -1, -1, -1, 42, 37, 32, 25},
+ {31, 25, 30, 37, 32, 19, 24, -1, 36, 43, 38, 33, 26},
+ {32, 26, 31, 38, 33, 20, 25, 30, 37, 44, 39, 34, 27},
+ {33, 27, 32, 39, 34, 21, 26, 31, 38, 45, 40, 35, 28},
+ {34, 28, 33, 40, 35, 22, 27, 32, 39, 46, 41, -1, 29},
+ {35, 29, 34, 41, -1, 23, 28, 33, 40, 47, -1, -1, -1},
+ {36, 30, -1, 42, 37, 24, -1, -1, -1, -1, 43, 38, 31},
+ {37, 31, 36, 43, 38, 25, 30, -1, 42, -1, 44, 39, 32},
+ {38, 32, 37, 44, 39, 26, 31, 36, 43, -1, 45, 40, 33},
+ {39, 33, 38, 45, 40, 27, 32, 37, 44, -1, 46, 41, 34},
+ {40, 34, 39, 46, 41, 28, 33, 38, 45, -1, 47, -1, 35},
+ {41, 35, 40, 47, -1, 29, 34, 39, 46, -1, -1, -1, -1},
+ {42, 36, -1, -1, 43, 30, -1, -1, -1, -1, -1, 44, 37},
+ {43, 37, 42, -1, 44, 31, 36, -1, -1, -1, -1, 45, 38},
+ {44, 38, 43, -1, 45, 32, 37, 42, -1, -1, -1, 46, 39},
+ {45, 39, 44, -1, 46, 33, 38, 43, -1, -1, -1, 47, 40},
+ {46, 40, 45, -1, 47, 34, 39, 44, -1, -1, -1, -1, 41},
+ {47, 41, 46, -1, -1, 35, 40, 45, -1, -1, -1, -1, -1},
+};
+#elif defined GC_50
+int core2test[50][NUM_CORES2TEST] = {
+ { 0, -1, -1, 6, 1, -1, -1, -1, -1, 12, 7, 2, -1},
+ { 1, -1, 0, 7, 2, -1, -1, -1, 6, 13, 8, 3, -1},
+ { 2, -1, 1, 8, 3, -1, -1, 0, 7, 14, 9, 4, -1},
+ { 3, -1, 2, 9, 4, -1, -1, 1, 8, 15, 10, 5, -1},
+ { 4, -1, 3, 10, 5, -1, -1, 2, 9, 16, 11, -1, -1},
+ { 5, -1, 4, 11, -1, -1, -1, 3, 10, 17, -1, -1, -1},
+ { 6, 0, -1, 12, 7, -1, -1, -1, -1, 18, 13, 8, 1},
+ { 7, 1, 6, 13, 8, -1, 0, -1, 12, 19, 14, 9, 2},
+ { 8, 2, 7, 14, 9, -1, 1, 6, 13, 20, 15, 10, 3},
+ { 9, 3, 8, 15, 10, -1, 2, 7, 14, 21, 16, 11, 4},
+ {10, 4, 9, 16, 11, -1, 3, 8, 15, 22, 17, -1, 5},
+ {11, 5, 10, 17, -1, -1, 4, 9, 16, 23, -1, -1, -1},
+ {12, 6, -1, 18, 13, 0, -1, -1, -1, 24, 19, 14, 7},
+ {13, 7, 12, 29, 14, 1, 6, -1, 18, 25, 20, 15, 8},
+ {14, 8, 13, 20, 15, 2, 7, 12, 19, 26, 21, 16, 9},
+ {15, 9, 14, 21, 16, 3, 8, 13, 20, 27, 22, 17, 10},
+ {16, 10, 15, 22, 17, 4, 9, 14, 21, 28, 23, -1, 11},
+ {17, 11, 16, 23, -1, 5, 10, 15, 22, 29, -1, -1, -1},
+ {18, 12, -1, 24, 19, 6, -1, -1, -1, 30, 25, 20, 13},
+ {19, 13, 18, 25, 20, 7, 12, -1, 24, 31, 26, 21, 14},
+ {20, 14, 19, 26, 21, 8, 13, 18, 25, 32, 27, 22, 15},
+ {21, 15, 20, 27, 22, 9, 14, 19, 26, 33, 28, 23, 16},
+ {22, 16, 21, 28, 23, 10, 15, 20, 27, 34, 29, -1, 17},
+ {23, 17, 22, 29, -1, 11, 16, 21, 28, 35, -1, -1, -1},
+ {24, 18, -1, 30, 25, 12, -1, -1, -1, 36, 31, 26, 19},
+ {25, 19, 24, 31, 26, 13, 18, -1, 30, 37, 32, 27, 20},
+ {26, 20, 25, 32, 27, 14, 19, 24, 31, 38, 33, 28, 21},
+ {27, 21, 26, 33, 28, 15, 20, 25, 32, 39, 34, 29, 22},
+ {28, 22, 27, 34, 29, 16, 21, 26, 33, 40, 35, -1, 23},
+ {29, 23, 28, 35, -1, 17, 22, 27, 34, 41, -1, -1, -1},
+ {30, 24, -1, 36, 31, 18, -1, -1, -1, 43, 37, 32, 25},
+ {31, 25, 30, 37, 32, 19, 24, -1, 36, 44, 38, 33, 26},
+ {32, 26, 31, 38, 33, 20, 25, 30, 37, 45, 39, 34, 27},
+ {33, 27, 32, 39, 34, 21, 26, 31, 38, 46, 40, 35, 28},
+ {34, 28, 33, 40, 35, 22, 27, 32, 39, 47, 41, -1, 29},
+ {35, 29, 34, 41, -1, 23, 28, 33, 40, 48, 42, -1, -1},
+ {36, 30, -1, 43, 37, 24, -1, -1, -1, -1, 44, 38, 31},
+ {37, 31, 36, 44, 38, 25, 30, -1, 43, -1, 45, 39, 32},
+ {38, 32, 37, 45, 39, 26, 31, 36, 44, -1, 46, 40, 33},
+ {39, 33, 38, 46, 40, 27, 32, 37, 45, -1, 47, 41, 34},
+ {40, 34, 39, 47, 41, 28, 33, 38, 46, -1, 48, 42, 35},
+ {41, 35, 40, 48, 42, 29, 34, 39, 47, -1, 49, -1, -1},
+ {42, -1, 41, 49, -1, -1, 35, 40, 48, -1, -1, -1, -1},
+ {43, 36, -1, -1, 44, 30, -1, -1, -1, -1, -1, 45, 37},
+ {44, 37, 43, -1, 45, 31, 36, -1, -1, -1, -1, 46, 38},
+ {45, 38, 44, -1, 46, 32, 37, 43, -1, -1, -1, 47, 39},
+ {46, 39, 45, -1, 47, 33, 38, 44, -1, -1, -1, 48, 40},
+ {47, 40, 46, -1, 48, 34, 39, 45, -1, -1, -1, 49, 41},
+ {48, 41, 47, -1, 49, 35, 40, 46, -1, -1, -1, -1, 42},
+ {49, 42, 48, -1, -1, -1, 41, 47, -1, -1, -1, -1, -1}
+};
#elif defined GC_56
int core2test[56][NUM_CORES2TEST] = {
{ 0, -1, -1, 7, 1, -1, -1, -1, -1, 14, 8, 2, -1},