+
+static uint8 regperm[8][8] =
+ {
+ {0, 1, 2, 3, 4, 5, 6, 7},
+ {0, 2, 6, 1, 7, 3, 4, 5},
+ {0, 5, 4, 1, 7, 2, 6, 3}, // unused
+ {0, 6, 3, 7, 5, 2, 4, 1},
+ {0, 2, 5, 3, 6, 1, 7, 4},
+ {0, 1, 2, 3, 4, 5, 6, 7}, // empty
+ {0, 1, 2, 3, 4, 5, 6, 7}, // empty
+ {0, 1, 2, 3, 4, 5, 6, 7}, // empty
+ };
+
+static uint8 adrperm[8][8] =
+ {
+ {0, 1, 2, 3, 4, 5, 6, 7},
+ {3, 2, 0, 4, 1, 5, 6, 7},
+ {0, 1, 2, 3, 4, 5, 6, 7}, // unused
+ {5, 0, 1, 2, 3, 7, 6, 4},
+ {3, 1, 0, 5, 2, 4, 6, 7},
+ {0, 1, 2, 3, 4, 5, 6, 7}, // empty
+ {0, 1, 2, 3, 4, 5, 6, 7}, // empty
+ {0, 1, 2, 3, 4, 5, 6, 7}, // empty
+ };