tweaks for running definite reach
authorjjenista <jjenista>
Fri, 6 Jan 2012 18:13:30 +0000 (18:13 +0000)
committerjjenista <jjenista>
Fri, 6 Jan 2012 18:13:30 +0000 (18:13 +0000)
14 files changed:
Robust/src/Analysis/Disjoint/DefiniteReachState.java
Robust/src/Analysis/Disjoint/DisjointAnalysis.java
Robust/src/Benchmarks/oooJava/barneshut/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/crypt/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/kmeans/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/labyrinth/rund-512first [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/master-makefile
Robust/src/Benchmarks/oooJava/mergesort/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/moldyn/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/monte/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/power/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/raytracer/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/sor/rund [new file with mode: 0755]
Robust/src/Benchmarks/oooJava/tracking/rund [new file with mode: 0755]

index 321d290e8d1d9a480e8c6b245b8ea3770fb5205f..0848f6683d783221875ff0b021a3ddc4436d2616 100644 (file)
@@ -424,8 +424,9 @@ public class DefiniteReachState {
   public void copyRs( TempDescriptor x,
                       TempDescriptor y ) {
     DefReachKnown valRs = Rs.get( y );
-    assert( valRs != null );
-    Rs.put( x, valRs );
+    if( valRs != null ) {
+      Rs.put( x, valRs );
+    }
   }
   
   public void loadRs( TempDescriptor x,
index 99eb4f62f27b48a40022f4f024a18d7d897e304e..b8dac1f9d7fb69cd754b8817c828112d04f51f5b 100644 (file)
@@ -2039,10 +2039,10 @@ public class DisjointAnalysis implements HeapAnalysis {
                     true,     // write labels (variables)
                     true,     // selectively hide intermediate temp vars
                     true,     // prune unreachable heap regions
-                    true,     // hide reachability altogether
+                    false,    // hide reachability altogether
                     true,     // hide subset reachability states
                     true,     // hide predicates
-                    false);   // hide edge taints
+                    true);    // hide edge taints
     }
   }
 
diff --git a/Robust/src/Benchmarks/oooJava/barneshut/rund b/Robust/src/Benchmarks/oooJava/barneshut/rund
new file mode 100755 (executable)
index 0000000..6014cbc
--- /dev/null
@@ -0,0 +1 @@
+time ./Barneshutd.bin ./inputs/BarnesHutLarge.in
diff --git a/Robust/src/Benchmarks/oooJava/crypt/rund b/Robust/src/Benchmarks/oooJava/crypt/rund
new file mode 100755 (executable)
index 0000000..feaf68b
--- /dev/null
@@ -0,0 +1 @@
+time ./JGFCryptBenchd.bin 2 23
diff --git a/Robust/src/Benchmarks/oooJava/kmeans/rund b/Robust/src/Benchmarks/oooJava/kmeans/rund
new file mode 100755 (executable)
index 0000000..a7b9f71
--- /dev/null
@@ -0,0 +1 @@
+time ./KMeansd.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 1
diff --git a/Robust/src/Benchmarks/oooJava/labyrinth/rund-512first b/Robust/src/Benchmarks/oooJava/labyrinth/rund-512first
new file mode 100755 (executable)
index 0000000..22e812f
--- /dev/null
@@ -0,0 +1 @@
+time numactl --interleave=all ./Labyrinthd.bin -w 23 -i ./inputs/random-x512-y512-z7-n512.txt
index a5ab907e4151a4da9db5d9f9e1f3c4d3e2d63732..16ed5f2ac70d3086eced4f6d9b2dbce9c71b4d97 100644 (file)
@@ -76,8 +76,8 @@ DISJOINT= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE) #-disjoint-
 # EX: (skip first 10 visits, capture the next 3, then halt)
 # -disjoint-debug-snap-method Remove 10 3 true
 
-DISJOINTDEBUG= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE)
-#      -disjoint-write-dots final
+DISJOINTDEBUG= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE) \
+       -disjoint-write-dots final
 #      -disjoint-debug-scheduling
 #      -disjoint-debug-callsite Barneshut.Insert Barneshut.run 50 500 true
 #      -disjoint-debug-snap-method ArrayIndexedGraph.createNode 1 100 true \
@@ -127,6 +127,17 @@ $(PROGRAM)c.bin: $(SOURCE_FILES) ../master-makefile
 
 
 
+disjoint: $(SOURCE_FILES) ../master-makefile
+       $(BUILDSCRIPT) $(BMFLAGS) $(BSFLAGS) $(DISJOINT) -justanalyze $(SOURCE_FILES)
+
+disjoint-defreach: $(SOURCE_FILES) ../master-makefile
+       $(BUILDSCRIPT) $(BMFLAGS) $(BSFLAGS) $(DISJOINT) -justanalyze -do-definite-reach-analysis $(SOURCE_FILES)
+
+ooo-defreach: $(SOURCE_FILES) ../master-makefile
+       $(BUILDSCRIPT) $(BMFLAGS) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINTDEBUG) -do-definite-reach-analysis -o $(PROGRAM)d -builddir def  $(SOURCE_FILES) 
+
+
+
 ooo: $(PROGRAM)p.bin
 
 $(PROGRAM)p.bin: $(SOURCE_FILES) ../master-makefile
@@ -157,8 +168,8 @@ rcr-debug-v: $(SOURCE_FILES) ../master-makefile
        $(BUILDSCRIPT) $(BMFLAGS) $(BSFLAGS) $(USECOREPROF) $(USERCR) $(RCRDEBUGV) $(DISJOINT) -o $(PROGRAM)r -builddir rcr  $(SOURCE_FILES) 
 
 clean:
-       rm -f  $(PROGRAM)p.bin $(PROGRAM)s.bin $(PROGRAM)r.bin $(PROGRAM)c.bin
-       rm -fr par sing rcr chk
+       rm -f  $(PROGRAM)p.bin $(PROGRAM)s.bin $(PROGRAM)r.bin $(PROGRAM)c.bin $(PROGRAM)d.bin
+       rm -fr par sing rcr chk def
        rm -f tmp.c
        rm -f  *~
        rm -f  *.dot
diff --git a/Robust/src/Benchmarks/oooJava/mergesort/rund b/Robust/src/Benchmarks/oooJava/mergesort/rund
new file mode 100755 (executable)
index 0000000..2c6010e
--- /dev/null
@@ -0,0 +1 @@
+./MergeSort4d.bin 134217728 32
diff --git a/Robust/src/Benchmarks/oooJava/moldyn/rund b/Robust/src/Benchmarks/oooJava/moldyn/rund
new file mode 100755 (executable)
index 0000000..0579829
--- /dev/null
@@ -0,0 +1 @@
+time ./JGFMolDynBenchSizeBd.bin 1 200
diff --git a/Robust/src/Benchmarks/oooJava/monte/rund b/Robust/src/Benchmarks/oooJava/monte/rund
new file mode 100755 (executable)
index 0000000..b0d1823
--- /dev/null
@@ -0,0 +1 @@
+time ./JGFMonteCarloBenchd.bin 1 26
\ No newline at end of file
diff --git a/Robust/src/Benchmarks/oooJava/power/rund b/Robust/src/Benchmarks/oooJava/power/rund
new file mode 100755 (executable)
index 0000000..789ddaf
--- /dev/null
@@ -0,0 +1 @@
+time ./Powerd.bin
\ No newline at end of file
diff --git a/Robust/src/Benchmarks/oooJava/raytracer/rund b/Robust/src/Benchmarks/oooJava/raytracer/rund
new file mode 100755 (executable)
index 0000000..3e0cf29
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+time ./testd.bin 1
diff --git a/Robust/src/Benchmarks/oooJava/sor/rund b/Robust/src/Benchmarks/oooJava/sor/rund
new file mode 100755 (executable)
index 0000000..2d57872
--- /dev/null
@@ -0,0 +1 @@
+time numactl --interleave=all ./JGFSORBenchSizeDd.bin
diff --git a/Robust/src/Benchmarks/oooJava/tracking/rund b/Robust/src/Benchmarks/oooJava/tracking/rund
new file mode 100755 (executable)
index 0000000..679ff25
--- /dev/null
@@ -0,0 +1 @@
+time ./TrackingBenchd.bin
\ No newline at end of file