the mismatch of sequential and ooo goes away if you remove the semantically-benign...
authorjjenista <jjenista>
Mon, 1 Nov 2010 19:50:13 +0000 (19:50 +0000)
committerjjenista <jjenista>
Mon, 1 Nov 2010 19:50:13 +0000 (19:50 +0000)
Robust/src/Benchmarks/oooJava/micro2.5/test.java

index 67b2acac9b0d53c9c7d6131e4a1c76517acd6862..6804076b32b0785b010a6ea26dbede1673ee945c 100644 (file)
@@ -2,7 +2,7 @@ public class test {
 
   public static void main( String argv[] ) {
     
-    long count = 500000;
+    long count = 50000;
     
     if( argv.length > 0 ) {
       count = count * Integer.parseInt( argv[0] );
@@ -12,8 +12,9 @@ public class test {
     long e1;
     long e2;
 
-   
-    rblock parent {
+    // THIS PARENT SHOULD NOT AFFECT ANYTHING
+    // BUT IT BREAKS THE OOO BINARY!!
+    //rblock parent {
 
       long y = 0;
       
@@ -33,12 +34,12 @@ public class test {
 
       }
       e1 = System.currentTimeMillis();
-      long z = 1;
-    }
+    //long z = 1;
+    //}
     // just read vars so compile doesn't throw them out
     // and force parent of parent to depend on z, for
     // timing
-    System.out.println( "ignore: "+z+", "+y );
+    System.out.println( "ignore: "+y );
     e2 = System.currentTimeMillis();