< prev index next >

test/compiler/escapeAnalysis/Test6726999.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

@@ -24,22 +24,24 @@
 
 /*
  * @test
  * @bug 6726999
  * @summary nsk/stress/jck12a/jck12a010 assert(n != NULL,"Bad immediate dominator info.");
- * @run main/othervm -Xbatch -XX:CompileCommand=exclude,Test.dummy -XX:+AggressiveOpts Test
+ *
+ * @run main/othervm -Xbatch -XX:+AggressiveOpts
+ *      -XX:CompileCommand=exclude,compiler.escapeAnalysis.Test6726999::dummy
+ *      compiler.escapeAnalysis.Test6726999
  */
 
-import java.lang.reflect.Array;
+package compiler.escapeAnalysis;
 
-class Point {
+public class Test6726999 {
+    static class Point {
   int x;
   int y;
-}
+    }
 
-public class Test {
-
   void dummy() {
     // Empty method to verify correctness of DebugInfo.
     // Use -XX:CompileCommand=exclude,Test.dummy
   }
 

@@ -176,11 +178,11 @@
     return p[0].x * p[0].y;
   }
 
   int test1_0_0(int y) {
     Point p = new Point();
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       p = new Point();
     }
     int x = 3;
     p.x = x;
     p.y = 3 * x + y;

@@ -188,29 +190,29 @@
     return p.x * p.y;
   }
 
   int test1_0_1(int y) {
     Point p = null;
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       p = new Point();
     }
     int x = 3;
-    if ( p == null )
+        if (p == null)
       return (3 * x + y) * x;
     p.x = x;
     p.y = 3 * x + y;
     dummy();
     return p.x * p.y;
   }
 
   int test1_0_2(int y) {
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       p[0] = new Point();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -217,15 +219,15 @@
   }
 
   int test1_0_3(int y) {
     Point p[] = new Point[1];
     p[0] = null;
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       p[0] = new Point();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -232,57 +234,57 @@
   }
 
   int test1_0_4(int y) {
     Point p[] = new Point[1];
     p[0] = new Point();
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       p[0] = new Point();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;
   }
 
   int test1_0_5(int y) {
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       p[0] = new Point();
     } else {
       p[0] = null;
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;
   }
 
   int test1_0_6(int y) {
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       p[0] = new Point();
     } else {
       p[0] = new Point();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;
   }
 
   int test1_1_0(int y) {
     Point p = new Point();
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p = new Point();
       dummy();
     }
     int x = 3;

@@ -292,33 +294,33 @@
     return p.x * p.y;
   }
 
   int test1_1_1(int y) {
     Point p = null;
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p = new Point();
       dummy();
     }
     int x = 3;
-    if ( p == null )
+        if (p == null)
       return (3 * x + y) * x;
     p.x = x;
     p.y = 3 * x + y;
     dummy();
     return p.x * p.y;
   }
 
   int test1_1_2(int y) {
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = new Point();
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -326,17 +328,17 @@
 
   int test1_1_3(int y) {
     Point p[] = new Point[1];
     dummy();
     p[0] = null;
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = new Point();
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -344,57 +346,57 @@
 
   int test1_1_4(int y) {
     Point p[] = new Point[1];
     dummy();
     p[0] = new Point();
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = new Point();
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;
   }
 
   int test1_1_5(int y) {
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = new Point();
       dummy();
     } else {
       dummy();
       p[0] = null;
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;
   }
 
   int test1_1_6(int y) {
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = new Point();
       dummy();
     } else {
       dummy();
       p[0] = new Point();
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -402,11 +404,11 @@
 
   int test1_2_0(int y) {
     Point p1 = new Point();
     dummy();
     Point p = new Point();
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p = p1;
       dummy();
     }
     int x = 3;

@@ -418,17 +420,17 @@
 
   int test1_2_1(int y) {
     Point p1 = new Point();
     dummy();
     Point p = null;
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p = p1;
       dummy();
     }
     int x = 3;
-    if ( p == null )
+        if (p == null)
       return (3 * x + y) * x;
     p.x = x;
     p.y = 3 * x + y;
     dummy();
     return p.x * p.y;

@@ -436,17 +438,17 @@
 
   int test1_2_2(int y) {
     Point p1 = new Point();
     dummy();
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = p1;
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -456,17 +458,17 @@
     Point p1 = new Point();
     dummy();
     Point p[] = new Point[1];
     dummy();
     p[0] = null;
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = p1;
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -478,17 +480,17 @@
     Point p2 = new Point();
     dummy();
     Point p[] = new Point[1];
     dummy();
     p[0] = p1;
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = p2;
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -496,21 +498,21 @@
 
   int test1_2_5(int y) {
     Point p1 = new Point();
     dummy();
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = p1;
       dummy();
     } else {
       dummy();
       p[0] = null;
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -520,21 +522,21 @@
     Point p1 = new Point();
     dummy();
     Point p2 = new Point();
     dummy();
     Point p[] = new Point[1];
-    if ( (y & 1) == 1 ) {
+        if ((y & 1) == 1) {
       dummy();
       p[0] = p1;
       dummy();
     } else {
       dummy();
       p[0] = p2;
       dummy();
     }
     int x = 3;
-    if ( p[0] == null )
+        if (p[0] == null)
       return (3 * x + y) * x;
     p[0].x = x;
     p[0].y = 3 * x + y;
     dummy();
     return p[0].x * p[0].y;

@@ -558,11 +560,11 @@
     int lim = (y & 3);
     for (int i = 0; i < lim; i++) {
       p = new Point();
     }
     int x = 3;
-    if ( p == null )
+        if (p == null)
       return (3 * x + y) * x;
     p.x = x;
     p.y = 3 * x + y;
     dummy();
     return p.x * p.y;

@@ -574,11 +576,11 @@
     for (int i = 0; i < lim; i++) {
       p[i] = new Point();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -591,11 +593,11 @@
     int lim = (y & 3);
     for (int i = 0; i < lim; i++) {
       p[i] = new Point();
     }
     int x = 3;
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -608,11 +610,11 @@
     int lim = (y & 3);
     for (int i = 0; i < lim; i++) {
       p[i] = new Point();
     }
     int x = 3;
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -627,11 +629,11 @@
     for (int i = 0; i < lim; i++) {
       p[i] = null;
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -646,11 +648,11 @@
     for (int i = 0; i < lim; i++) {
       p[i] = new Point();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -678,11 +680,11 @@
       dummy();
       p = new Point();
       dummy();
     }
     int x = 3;
-    if ( p == null )
+        if (p == null)
       return (3 * x + y) * x;
     p.x = x;
     p.y = 3 * x + y;
     dummy();
     return p.x * p.y;

@@ -696,11 +698,11 @@
       p[i] = new Point();
       dummy();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -716,11 +718,11 @@
       dummy();
       p[i] = new Point();
       dummy();
     }
     int x = 3;
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -736,11 +738,11 @@
       dummy();
       p[i] = new Point();
       dummy();
     }
     int x = 3;
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -759,11 +761,11 @@
       p[i] = null;
       dummy();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -782,11 +784,11 @@
       p[i] = new Point();
       dummy();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -818,11 +820,11 @@
       dummy();
       p = p1;
       dummy();
     }
     int x = 3;
-    if ( p == null )
+        if (p == null)
       return (3 * x + y) * x;
     p.x = x;
     p.y = 3 * x + y;
     dummy();
     return p.x * p.y;

@@ -838,11 +840,11 @@
       p[i] = p1;
       dummy();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -860,11 +862,11 @@
       dummy();
       p[i] = p1;
       dummy();
     }
     int x = 3;
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -884,11 +886,11 @@
       dummy();
       p[i] = p2;
       dummy();
     }
     int x = 3;
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -909,11 +911,11 @@
       p[i] = null;
       dummy();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;

@@ -936,25 +938,25 @@
       p[i] = p2;
       dummy();
     }
     int x = 3;
     int j = (y & 1);
-    if ( p[j] == null )
+        if (p[j] == null)
       return (3 * x + y) * x;
     p[j].x = x;
     p[j].y = 3 * x + y;
     dummy();
     return p[j].x * p[0].y;
   }
 
   public static void main(String args[]) {
-    Test tsr    = new Test();
+        Test6726999 tsr = new Test6726999();
     Point p     = new Point();
     Point ptmp  = p;
     Class cls   = Point.class;
     int y = 0;
-    for (int i=0; i<10000; i++) {
+        for (int i = 0; i < 10000; i++) {
       y = tsr.test0_0_0(y);
       y = tsr.test0_0_0(y);
       y = tsr.test0_0_1(y);
       y = tsr.test0_0_1(y);
       y = tsr.test0_0_2(y);

@@ -975,102 +977,102 @@
       y = tsr.test0_1_5(y);
       y = tsr.test0_1_5(y);
       y = tsr.test0_1_6(y);
       y = tsr.test0_1_6(y);
 
-      y = tsr.test1_0_0(y&~1);
-      y = tsr.test1_0_1(y&~1);
-      y = tsr.test1_0_2(y&~1);
-      y = tsr.test1_0_3(y&~1);
-      y = tsr.test1_0_4(y&~1);
-      y = tsr.test1_0_5(y&~1);
-      y = tsr.test1_0_6(y&~1);
-      y = tsr.test1_0_0((y&~1)+1);
-      y = tsr.test1_0_1((y&~1)+1);
-      y = tsr.test1_0_2((y&~1)+1);
-      y = tsr.test1_0_3((y&~1)+1);
-      y = tsr.test1_0_4((y&~1)+1);
-      y = tsr.test1_0_5((y&~1)+1);
-      y = tsr.test1_0_6((y&~1)+1);
+            y = tsr.test1_0_0(y & ~1);
+            y = tsr.test1_0_1(y & ~1);
+            y = tsr.test1_0_2(y & ~1);
+            y = tsr.test1_0_3(y & ~1);
+            y = tsr.test1_0_4(y & ~1);
+            y = tsr.test1_0_5(y & ~1);
+            y = tsr.test1_0_6(y & ~1);
+            y = tsr.test1_0_0((y & ~1) + 1);
+            y = tsr.test1_0_1((y & ~1) + 1);
+            y = tsr.test1_0_2((y & ~1) + 1);
+            y = tsr.test1_0_3((y & ~1) + 1);
+            y = tsr.test1_0_4((y & ~1) + 1);
+            y = tsr.test1_0_5((y & ~1) + 1);
+            y = tsr.test1_0_6((y & ~1) + 1);
 
-      y = tsr.test1_1_0(y&~1);
-      y = tsr.test1_1_1(y&~1);
-      y = tsr.test1_1_2(y&~1);
-      y = tsr.test1_1_3(y&~1);
-      y = tsr.test1_1_4(y&~1);
-      y = tsr.test1_1_5(y&~1);
-      y = tsr.test1_1_6(y&~1);
-      y = tsr.test1_1_0((y&~1)+1);
-      y = tsr.test1_1_1((y&~1)+1);
-      y = tsr.test1_1_2((y&~1)+1);
-      y = tsr.test1_1_3((y&~1)+1);
-      y = tsr.test1_1_4((y&~1)+1);
-      y = tsr.test1_1_5((y&~1)+1);
-      y = tsr.test1_1_6((y&~1)+1);
+            y = tsr.test1_1_0(y & ~1);
+            y = tsr.test1_1_1(y & ~1);
+            y = tsr.test1_1_2(y & ~1);
+            y = tsr.test1_1_3(y & ~1);
+            y = tsr.test1_1_4(y & ~1);
+            y = tsr.test1_1_5(y & ~1);
+            y = tsr.test1_1_6(y & ~1);
+            y = tsr.test1_1_0((y & ~1) + 1);
+            y = tsr.test1_1_1((y & ~1) + 1);
+            y = tsr.test1_1_2((y & ~1) + 1);
+            y = tsr.test1_1_3((y & ~1) + 1);
+            y = tsr.test1_1_4((y & ~1) + 1);
+            y = tsr.test1_1_5((y & ~1) + 1);
+            y = tsr.test1_1_6((y & ~1) + 1);
 
-      y = tsr.test1_2_0(y&~1);
-      y = tsr.test1_2_1(y&~1);
-      y = tsr.test1_2_2(y&~1);
-      y = tsr.test1_2_3(y&~1);
-      y = tsr.test1_2_4(y&~1);
-      y = tsr.test1_2_5(y&~1);
-      y = tsr.test1_2_6(y&~1);
-      y = tsr.test1_2_0((y&~1)+1);
-      y = tsr.test1_2_1((y&~1)+1);
-      y = tsr.test1_2_2((y&~1)+1);
-      y = tsr.test1_2_3((y&~1)+1);
-      y = tsr.test1_2_4((y&~1)+1);
-      y = tsr.test1_2_5((y&~1)+1);
-      y = tsr.test1_2_6((y&~1)+1);
+            y = tsr.test1_2_0(y & ~1);
+            y = tsr.test1_2_1(y & ~1);
+            y = tsr.test1_2_2(y & ~1);
+            y = tsr.test1_2_3(y & ~1);
+            y = tsr.test1_2_4(y & ~1);
+            y = tsr.test1_2_5(y & ~1);
+            y = tsr.test1_2_6(y & ~1);
+            y = tsr.test1_2_0((y & ~1) + 1);
+            y = tsr.test1_2_1((y & ~1) + 1);
+            y = tsr.test1_2_2((y & ~1) + 1);
+            y = tsr.test1_2_3((y & ~1) + 1);
+            y = tsr.test1_2_4((y & ~1) + 1);
+            y = tsr.test1_2_5((y & ~1) + 1);
+            y = tsr.test1_2_6((y & ~1) + 1);
 
-      y = tsr.test2_0_0(y&~3);
-      y = tsr.test2_0_1(y&~3);
-      y = tsr.test2_0_2(y&~3);
-      y = tsr.test2_0_3(y&~3);
-      y = tsr.test2_0_4(y&~3);
-      y = tsr.test2_0_5(y&~3);
-      y = tsr.test2_0_6(y&~3);
-      y = tsr.test2_0_0((y&~3)+3);
-      y = tsr.test2_0_1((y&~3)+3);
-      y = tsr.test2_0_2((y&~3)+3);
-      y = tsr.test2_0_3((y&~3)+3);
-      y = tsr.test2_0_4((y&~3)+3);
-      y = tsr.test2_0_5((y&~3)+3);
-      y = tsr.test2_0_6((y&~3)+3);
+            y = tsr.test2_0_0(y & ~3);
+            y = tsr.test2_0_1(y & ~3);
+            y = tsr.test2_0_2(y & ~3);
+            y = tsr.test2_0_3(y & ~3);
+            y = tsr.test2_0_4(y & ~3);
+            y = tsr.test2_0_5(y & ~3);
+            y = tsr.test2_0_6(y & ~3);
+            y = tsr.test2_0_0((y & ~3) + 3);
+            y = tsr.test2_0_1((y & ~3) + 3);
+            y = tsr.test2_0_2((y & ~3) + 3);
+            y = tsr.test2_0_3((y & ~3) + 3);
+            y = tsr.test2_0_4((y & ~3) + 3);
+            y = tsr.test2_0_5((y & ~3) + 3);
+            y = tsr.test2_0_6((y & ~3) + 3);
 
-      y = tsr.test2_1_0(y&~3);
-      y = tsr.test2_1_1(y&~3);
-      y = tsr.test2_1_2(y&~3);
-      y = tsr.test2_1_3(y&~3);
-      y = tsr.test2_1_4(y&~3);
-      y = tsr.test2_1_5(y&~3);
-      y = tsr.test2_1_6(y&~3);
-      y = tsr.test2_1_0((y&~3)+3);
-      y = tsr.test2_1_1((y&~3)+3);
-      y = tsr.test2_1_2((y&~3)+3);
-      y = tsr.test2_1_3((y&~3)+3);
-      y = tsr.test2_1_4((y&~3)+3);
-      y = tsr.test2_1_5((y&~3)+3);
-      y = tsr.test2_1_6((y&~3)+3);
+            y = tsr.test2_1_0(y & ~3);
+            y = tsr.test2_1_1(y & ~3);
+            y = tsr.test2_1_2(y & ~3);
+            y = tsr.test2_1_3(y & ~3);
+            y = tsr.test2_1_4(y & ~3);
+            y = tsr.test2_1_5(y & ~3);
+            y = tsr.test2_1_6(y & ~3);
+            y = tsr.test2_1_0((y & ~3) + 3);
+            y = tsr.test2_1_1((y & ~3) + 3);
+            y = tsr.test2_1_2((y & ~3) + 3);
+            y = tsr.test2_1_3((y & ~3) + 3);
+            y = tsr.test2_1_4((y & ~3) + 3);
+            y = tsr.test2_1_5((y & ~3) + 3);
+            y = tsr.test2_1_6((y & ~3) + 3);
 
-      y = tsr.test2_2_0(y&~3);
-      y = tsr.test2_2_1(y&~3);
-      y = tsr.test2_2_2(y&~3);
-      y = tsr.test2_2_3(y&~3);
-      y = tsr.test2_2_4(y&~3);
-      y = tsr.test2_2_5(y&~3);
-      y = tsr.test2_2_6(y&~3);
-      y = tsr.test2_2_0((y&~3)+3);
-      y = tsr.test2_2_1((y&~3)+3);
-      y = tsr.test2_2_2((y&~3)+3);
-      y = tsr.test2_2_3((y&~3)+3);
-      y = tsr.test2_2_4((y&~3)+3);
-      y = tsr.test2_2_5((y&~3)+3);
-      y = tsr.test2_2_6((y&~3)+3);
+            y = tsr.test2_2_0(y & ~3);
+            y = tsr.test2_2_1(y & ~3);
+            y = tsr.test2_2_2(y & ~3);
+            y = tsr.test2_2_3(y & ~3);
+            y = tsr.test2_2_4(y & ~3);
+            y = tsr.test2_2_5(y & ~3);
+            y = tsr.test2_2_6(y & ~3);
+            y = tsr.test2_2_0((y & ~3) + 3);
+            y = tsr.test2_2_1((y & ~3) + 3);
+            y = tsr.test2_2_2((y & ~3) + 3);
+            y = tsr.test2_2_3((y & ~3) + 3);
+            y = tsr.test2_2_4((y & ~3) + 3);
+            y = tsr.test2_2_5((y & ~3) + 3);
+            y = tsr.test2_2_6((y & ~3) + 3);
 
     }
-    for (int i=0; i<10000; i++) {
+        for (int i = 0; i < 10000; i++) {
       y = tsr.test0_0_0(y);
       y = tsr.test0_0_0(y);
       y = tsr.test0_0_1(y);
       y = tsr.test0_0_1(y);
       y = tsr.test0_0_2(y);

@@ -1091,102 +1093,102 @@
       y = tsr.test0_1_5(y);
       y = tsr.test0_1_5(y);
       y = tsr.test0_1_6(y);
       y = tsr.test0_1_6(y);
 
-      y = tsr.test1_0_0(y&~1);
-      y = tsr.test1_0_1(y&~1);
-      y = tsr.test1_0_2(y&~1);
-      y = tsr.test1_0_3(y&~1);
-      y = tsr.test1_0_4(y&~1);
-      y = tsr.test1_0_5(y&~1);
-      y = tsr.test1_0_6(y&~1);
-      y = tsr.test1_0_0((y&~1)+1);
-      y = tsr.test1_0_1((y&~1)+1);
-      y = tsr.test1_0_2((y&~1)+1);
-      y = tsr.test1_0_3((y&~1)+1);
-      y = tsr.test1_0_4((y&~1)+1);
-      y = tsr.test1_0_5((y&~1)+1);
-      y = tsr.test1_0_6((y&~1)+1);
+            y = tsr.test1_0_0(y & ~1);
+            y = tsr.test1_0_1(y & ~1);
+            y = tsr.test1_0_2(y & ~1);
+            y = tsr.test1_0_3(y & ~1);
+            y = tsr.test1_0_4(y & ~1);
+            y = tsr.test1_0_5(y & ~1);
+            y = tsr.test1_0_6(y & ~1);
+            y = tsr.test1_0_0((y & ~1) + 1);
+            y = tsr.test1_0_1((y & ~1) + 1);
+            y = tsr.test1_0_2((y & ~1) + 1);
+            y = tsr.test1_0_3((y & ~1) + 1);
+            y = tsr.test1_0_4((y & ~1) + 1);
+            y = tsr.test1_0_5((y & ~1) + 1);
+            y = tsr.test1_0_6((y & ~1) + 1);
 
-      y = tsr.test1_1_0(y&~1);
-      y = tsr.test1_1_1(y&~1);
-      y = tsr.test1_1_2(y&~1);
-      y = tsr.test1_1_3(y&~1);
-      y = tsr.test1_1_4(y&~1);
-      y = tsr.test1_1_5(y&~1);
-      y = tsr.test1_1_6(y&~1);
-      y = tsr.test1_1_0((y&~1)+1);
-      y = tsr.test1_1_1((y&~1)+1);
-      y = tsr.test1_1_2((y&~1)+1);
-      y = tsr.test1_1_3((y&~1)+1);
-      y = tsr.test1_1_4((y&~1)+1);
-      y = tsr.test1_1_5((y&~1)+1);
-      y = tsr.test1_1_6((y&~1)+1);
+            y = tsr.test1_1_0(y & ~1);
+            y = tsr.test1_1_1(y & ~1);
+            y = tsr.test1_1_2(y & ~1);
+            y = tsr.test1_1_3(y & ~1);
+            y = tsr.test1_1_4(y & ~1);
+            y = tsr.test1_1_5(y & ~1);
+            y = tsr.test1_1_6(y & ~1);
+            y = tsr.test1_1_0((y & ~1) + 1);
+            y = tsr.test1_1_1((y & ~1) + 1);
+            y = tsr.test1_1_2((y & ~1) + 1);
+            y = tsr.test1_1_3((y & ~1) + 1);
+            y = tsr.test1_1_4((y & ~1) + 1);
+            y = tsr.test1_1_5((y & ~1) + 1);
+            y = tsr.test1_1_6((y & ~1) + 1);
 
-      y = tsr.test1_2_0(y&~1);
-      y = tsr.test1_2_1(y&~1);
-      y = tsr.test1_2_2(y&~1);
-      y = tsr.test1_2_3(y&~1);
-      y = tsr.test1_2_4(y&~1);
-      y = tsr.test1_2_5(y&~1);
-      y = tsr.test1_2_6(y&~1);
-      y = tsr.test1_2_0((y&~1)+1);
-      y = tsr.test1_2_1((y&~1)+1);
-      y = tsr.test1_2_2((y&~1)+1);
-      y = tsr.test1_2_3((y&~1)+1);
-      y = tsr.test1_2_4((y&~1)+1);
-      y = tsr.test1_2_5((y&~1)+1);
-      y = tsr.test1_2_6((y&~1)+1);
+            y = tsr.test1_2_0(y & ~1);
+            y = tsr.test1_2_1(y & ~1);
+            y = tsr.test1_2_2(y & ~1);
+            y = tsr.test1_2_3(y & ~1);
+            y = tsr.test1_2_4(y & ~1);
+            y = tsr.test1_2_5(y & ~1);
+            y = tsr.test1_2_6(y & ~1);
+            y = tsr.test1_2_0((y & ~1) + 1);
+            y = tsr.test1_2_1((y & ~1) + 1);
+            y = tsr.test1_2_2((y & ~1) + 1);
+            y = tsr.test1_2_3((y & ~1) + 1);
+            y = tsr.test1_2_4((y & ~1) + 1);
+            y = tsr.test1_2_5((y & ~1) + 1);
+            y = tsr.test1_2_6((y & ~1) + 1);
 
-      y = tsr.test2_0_0(y&~3);
-      y = tsr.test2_0_1(y&~3);
-      y = tsr.test2_0_2(y&~3);
-      y = tsr.test2_0_3(y&~3);
-      y = tsr.test2_0_4(y&~3);
-      y = tsr.test2_0_5(y&~3);
-      y = tsr.test2_0_6(y&~3);
-      y = tsr.test2_0_0((y&~3)+3);
-      y = tsr.test2_0_1((y&~3)+3);
-      y = tsr.test2_0_2((y&~3)+3);
-      y = tsr.test2_0_3((y&~3)+3);
-      y = tsr.test2_0_4((y&~3)+3);
-      y = tsr.test2_0_5((y&~3)+3);
-      y = tsr.test2_0_6((y&~3)+3);
+            y = tsr.test2_0_0(y & ~3);
+            y = tsr.test2_0_1(y & ~3);
+            y = tsr.test2_0_2(y & ~3);
+            y = tsr.test2_0_3(y & ~3);
+            y = tsr.test2_0_4(y & ~3);
+            y = tsr.test2_0_5(y & ~3);
+            y = tsr.test2_0_6(y & ~3);
+            y = tsr.test2_0_0((y & ~3) + 3);
+            y = tsr.test2_0_1((y & ~3) + 3);
+            y = tsr.test2_0_2((y & ~3) + 3);
+            y = tsr.test2_0_3((y & ~3) + 3);
+            y = tsr.test2_0_4((y & ~3) + 3);
+            y = tsr.test2_0_5((y & ~3) + 3);
+            y = tsr.test2_0_6((y & ~3) + 3);
 
-      y = tsr.test2_1_0(y&~3);
-      y = tsr.test2_1_1(y&~3);
-      y = tsr.test2_1_2(y&~3);
-      y = tsr.test2_1_3(y&~3);
-      y = tsr.test2_1_4(y&~3);
-      y = tsr.test2_1_5(y&~3);
-      y = tsr.test2_1_6(y&~3);
-      y = tsr.test2_1_0((y&~3)+3);
-      y = tsr.test2_1_1((y&~3)+3);
-      y = tsr.test2_1_2((y&~3)+3);
-      y = tsr.test2_1_3((y&~3)+3);
-      y = tsr.test2_1_4((y&~3)+3);
-      y = tsr.test2_1_5((y&~3)+3);
-      y = tsr.test2_1_6((y&~3)+3);
+            y = tsr.test2_1_0(y & ~3);
+            y = tsr.test2_1_1(y & ~3);
+            y = tsr.test2_1_2(y & ~3);
+            y = tsr.test2_1_3(y & ~3);
+            y = tsr.test2_1_4(y & ~3);
+            y = tsr.test2_1_5(y & ~3);
+            y = tsr.test2_1_6(y & ~3);
+            y = tsr.test2_1_0((y & ~3) + 3);
+            y = tsr.test2_1_1((y & ~3) + 3);
+            y = tsr.test2_1_2((y & ~3) + 3);
+            y = tsr.test2_1_3((y & ~3) + 3);
+            y = tsr.test2_1_4((y & ~3) + 3);
+            y = tsr.test2_1_5((y & ~3) + 3);
+            y = tsr.test2_1_6((y & ~3) + 3);
 
-      y = tsr.test2_2_0(y&~3);
-      y = tsr.test2_2_1(y&~3);
-      y = tsr.test2_2_2(y&~3);
-      y = tsr.test2_2_3(y&~3);
-      y = tsr.test2_2_4(y&~3);
-      y = tsr.test2_2_5(y&~3);
-      y = tsr.test2_2_6(y&~3);
-      y = tsr.test2_2_0((y&~3)+3);
-      y = tsr.test2_2_1((y&~3)+3);
-      y = tsr.test2_2_2((y&~3)+3);
-      y = tsr.test2_2_3((y&~3)+3);
-      y = tsr.test2_2_4((y&~3)+3);
-      y = tsr.test2_2_5((y&~3)+3);
-      y = tsr.test2_2_6((y&~3)+3);
+            y = tsr.test2_2_0(y & ~3);
+            y = tsr.test2_2_1(y & ~3);
+            y = tsr.test2_2_2(y & ~3);
+            y = tsr.test2_2_3(y & ~3);
+            y = tsr.test2_2_4(y & ~3);
+            y = tsr.test2_2_5(y & ~3);
+            y = tsr.test2_2_6(y & ~3);
+            y = tsr.test2_2_0((y & ~3) + 3);
+            y = tsr.test2_2_1((y & ~3) + 3);
+            y = tsr.test2_2_2((y & ~3) + 3);
+            y = tsr.test2_2_3((y & ~3) + 3);
+            y = tsr.test2_2_4((y & ~3) + 3);
+            y = tsr.test2_2_5((y & ~3) + 3);
+            y = tsr.test2_2_6((y & ~3) + 3);
 
     }
-    for (int i=0; i<10000; i++) {
+        for (int i = 0; i < 10000; i++) {
       y = tsr.test0_0_0(y);
       y = tsr.test0_0_0(y);
       y = tsr.test0_0_1(y);
       y = tsr.test0_0_1(y);
       y = tsr.test0_0_2(y);

@@ -1207,99 +1209,99 @@
       y = tsr.test0_1_5(y);
       y = tsr.test0_1_5(y);
       y = tsr.test0_1_6(y);
       y = tsr.test0_1_6(y);
 
-      y = tsr.test1_0_0(y&~1);
-      y = tsr.test1_0_1(y&~1);
-      y = tsr.test1_0_2(y&~1);
-      y = tsr.test1_0_3(y&~1);
-      y = tsr.test1_0_4(y&~1);
-      y = tsr.test1_0_5(y&~1);
-      y = tsr.test1_0_6(y&~1);
-      y = tsr.test1_0_0((y&~1)+1);
-      y = tsr.test1_0_1((y&~1)+1);
-      y = tsr.test1_0_2((y&~1)+1);
-      y = tsr.test1_0_3((y&~1)+1);
-      y = tsr.test1_0_4((y&~1)+1);
-      y = tsr.test1_0_5((y&~1)+1);
-      y = tsr.test1_0_6((y&~1)+1);
+            y = tsr.test1_0_0(y & ~1);
+            y = tsr.test1_0_1(y & ~1);
+            y = tsr.test1_0_2(y & ~1);
+            y = tsr.test1_0_3(y & ~1);
+            y = tsr.test1_0_4(y & ~1);
+            y = tsr.test1_0_5(y & ~1);
+            y = tsr.test1_0_6(y & ~1);
+            y = tsr.test1_0_0((y & ~1) + 1);
+            y = tsr.test1_0_1((y & ~1) + 1);
+            y = tsr.test1_0_2((y & ~1) + 1);
+            y = tsr.test1_0_3((y & ~1) + 1);
+            y = tsr.test1_0_4((y & ~1) + 1);
+            y = tsr.test1_0_5((y & ~1) + 1);
+            y = tsr.test1_0_6((y & ~1) + 1);
 
-      y = tsr.test1_1_0(y&~1);
-      y = tsr.test1_1_1(y&~1);
-      y = tsr.test1_1_2(y&~1);
-      y = tsr.test1_1_3(y&~1);
-      y = tsr.test1_1_4(y&~1);
-      y = tsr.test1_1_5(y&~1);
-      y = tsr.test1_1_6(y&~1);
-      y = tsr.test1_1_0((y&~1)+1);
-      y = tsr.test1_1_1((y&~1)+1);
-      y = tsr.test1_1_2((y&~1)+1);
-      y = tsr.test1_1_3((y&~1)+1);
-      y = tsr.test1_1_4((y&~1)+1);
-      y = tsr.test1_1_5((y&~1)+1);
-      y = tsr.test1_1_6((y&~1)+1);
+            y = tsr.test1_1_0(y & ~1);
+            y = tsr.test1_1_1(y & ~1);
+            y = tsr.test1_1_2(y & ~1);
+            y = tsr.test1_1_3(y & ~1);
+            y = tsr.test1_1_4(y & ~1);
+            y = tsr.test1_1_5(y & ~1);
+            y = tsr.test1_1_6(y & ~1);
+            y = tsr.test1_1_0((y & ~1) + 1);
+            y = tsr.test1_1_1((y & ~1) + 1);
+            y = tsr.test1_1_2((y & ~1) + 1);
+            y = tsr.test1_1_3((y & ~1) + 1);
+            y = tsr.test1_1_4((y & ~1) + 1);
+            y = tsr.test1_1_5((y & ~1) + 1);
+            y = tsr.test1_1_6((y & ~1) + 1);
 
-      y = tsr.test1_2_0(y&~1);
-      y = tsr.test1_2_1(y&~1);
-      y = tsr.test1_2_2(y&~1);
-      y = tsr.test1_2_3(y&~1);
-      y = tsr.test1_2_4(y&~1);
-      y = tsr.test1_2_5(y&~1);
-      y = tsr.test1_2_6(y&~1);
-      y = tsr.test1_2_0((y&~1)+1);
-      y = tsr.test1_2_1((y&~1)+1);
-      y = tsr.test1_2_2((y&~1)+1);
-      y = tsr.test1_2_3((y&~1)+1);
-      y = tsr.test1_2_4((y&~1)+1);
-      y = tsr.test1_2_5((y&~1)+1);
-      y = tsr.test1_2_6((y&~1)+1);
+            y = tsr.test1_2_0(y & ~1);
+            y = tsr.test1_2_1(y & ~1);
+            y = tsr.test1_2_2(y & ~1);
+            y = tsr.test1_2_3(y & ~1);
+            y = tsr.test1_2_4(y & ~1);
+            y = tsr.test1_2_5(y & ~1);
+            y = tsr.test1_2_6(y & ~1);
+            y = tsr.test1_2_0((y & ~1) + 1);
+            y = tsr.test1_2_1((y & ~1) + 1);
+            y = tsr.test1_2_2((y & ~1) + 1);
+            y = tsr.test1_2_3((y & ~1) + 1);
+            y = tsr.test1_2_4((y & ~1) + 1);
+            y = tsr.test1_2_5((y & ~1) + 1);
+            y = tsr.test1_2_6((y & ~1) + 1);
 
-      y = tsr.test2_0_0(y&~3);
-      y = tsr.test2_0_1(y&~3);
-      y = tsr.test2_0_2(y&~3);
-      y = tsr.test2_0_3(y&~3);
-      y = tsr.test2_0_4(y&~3);
-      y = tsr.test2_0_5(y&~3);
-      y = tsr.test2_0_6(y&~3);
-      y = tsr.test2_0_0((y&~3)+3);
-      y = tsr.test2_0_1((y&~3)+3);
-      y = tsr.test2_0_2((y&~3)+3);
-      y = tsr.test2_0_3((y&~3)+3);
-      y = tsr.test2_0_4((y&~3)+3);
-      y = tsr.test2_0_5((y&~3)+3);
-      y = tsr.test2_0_6((y&~3)+3);
+            y = tsr.test2_0_0(y & ~3);
+            y = tsr.test2_0_1(y & ~3);
+            y = tsr.test2_0_2(y & ~3);
+            y = tsr.test2_0_3(y & ~3);
+            y = tsr.test2_0_4(y & ~3);
+            y = tsr.test2_0_5(y & ~3);
+            y = tsr.test2_0_6(y & ~3);
+            y = tsr.test2_0_0((y & ~3) + 3);
+            y = tsr.test2_0_1((y & ~3) + 3);
+            y = tsr.test2_0_2((y & ~3) + 3);
+            y = tsr.test2_0_3((y & ~3) + 3);
+            y = tsr.test2_0_4((y & ~3) + 3);
+            y = tsr.test2_0_5((y & ~3) + 3);
+            y = tsr.test2_0_6((y & ~3) + 3);
 
-      y = tsr.test2_1_0(y&~3);
-      y = tsr.test2_1_1(y&~3);
-      y = tsr.test2_1_2(y&~3);
-      y = tsr.test2_1_3(y&~3);
-      y = tsr.test2_1_4(y&~3);
-      y = tsr.test2_1_5(y&~3);
-      y = tsr.test2_1_6(y&~3);
-      y = tsr.test2_1_0((y&~3)+3);
-      y = tsr.test2_1_1((y&~3)+3);
-      y = tsr.test2_1_2((y&~3)+3);
-      y = tsr.test2_1_3((y&~3)+3);
-      y = tsr.test2_1_4((y&~3)+3);
-      y = tsr.test2_1_5((y&~3)+3);
-      y = tsr.test2_1_6((y&~3)+3);
+            y = tsr.test2_1_0(y & ~3);
+            y = tsr.test2_1_1(y & ~3);
+            y = tsr.test2_1_2(y & ~3);
+            y = tsr.test2_1_3(y & ~3);
+            y = tsr.test2_1_4(y & ~3);
+            y = tsr.test2_1_5(y & ~3);
+            y = tsr.test2_1_6(y & ~3);
+            y = tsr.test2_1_0((y & ~3) + 3);
+            y = tsr.test2_1_1((y & ~3) + 3);
+            y = tsr.test2_1_2((y & ~3) + 3);
+            y = tsr.test2_1_3((y & ~3) + 3);
+            y = tsr.test2_1_4((y & ~3) + 3);
+            y = tsr.test2_1_5((y & ~3) + 3);
+            y = tsr.test2_1_6((y & ~3) + 3);
 
-      y = tsr.test2_2_0(y&~3);
-      y = tsr.test2_2_1(y&~3);
-      y = tsr.test2_2_2(y&~3);
-      y = tsr.test2_2_3(y&~3);
-      y = tsr.test2_2_4(y&~3);
-      y = tsr.test2_2_5(y&~3);
-      y = tsr.test2_2_6(y&~3);
-      y = tsr.test2_2_0((y&~3)+3);
-      y = tsr.test2_2_1((y&~3)+3);
-      y = tsr.test2_2_2((y&~3)+3);
-      y = tsr.test2_2_3((y&~3)+3);
-      y = tsr.test2_2_4((y&~3)+3);
-      y = tsr.test2_2_5((y&~3)+3);
-      y = tsr.test2_2_6((y&~3)+3);
+            y = tsr.test2_2_0(y & ~3);
+            y = tsr.test2_2_1(y & ~3);
+            y = tsr.test2_2_2(y & ~3);
+            y = tsr.test2_2_3(y & ~3);
+            y = tsr.test2_2_4(y & ~3);
+            y = tsr.test2_2_5(y & ~3);
+            y = tsr.test2_2_6(y & ~3);
+            y = tsr.test2_2_0((y & ~3) + 3);
+            y = tsr.test2_2_1((y & ~3) + 3);
+            y = tsr.test2_2_2((y & ~3) + 3);
+            y = tsr.test2_2_3((y & ~3) + 3);
+            y = tsr.test2_2_4((y & ~3) + 3);
+            y = tsr.test2_2_5((y & ~3) + 3);
+            y = tsr.test2_2_6((y & ~3) + 3);
 
     }
 
     int z = 0;
     y = tsr.test0_0_0(0);
< prev index next >