Add targets that make it easier to test pointer compression.
llvm-svn: 22178
diff --git a/poolalloc/test/Makefile b/poolalloc/test/Makefile
index f46d181..d0f9098 100644
--- a/poolalloc/test/Makefile
+++ b/poolalloc/test/Makefile
@@ -50,6 +50,29 @@
NORMAL_PROBLEM_SIZE_DIRS := \
$(addprefix $(LLVM_OBJ_ROOT)/projects/llvm-test/,$(NORMAL_PROBLEM_SIZE_DIRS))
+#
+# Problems for Pointer Compression
+#
+PCLARGE_PROBLEM_SIZE_DIRS := \
+ MultiSource/Benchmarks/Olden/bh \
+ MultiSource/Benchmarks/Olden/bisort \
+ MultiSource/Benchmarks/Olden/em3d \
+ MultiSource/Benchmarks/Olden/power \
+ MultiSource/Benchmarks/llubenchmark \
+ MultiSource/Benchmarks/Ptrdist \
+ MultiSource/Benchmarks/MallocBench/cfrac
+
+PCLARGE_PROBLEM_SIZE_DIRS := \
+ $(addprefix $(LLVM_OBJ_ROOT)/projects/llvm-test/,$(PCLARGE_PROBLEM_SIZE_DIRS))
+
+PCNORMAL_PROBLEM_SIZE_DIRS := \
+ MultiSource/Benchmarks/Olden/perimeter \
+ MultiSource/Benchmarks/Olden/treeadd \
+ MultiSource/Benchmarks/Olden/tsp \
+ MultiSource/Benchmarks/Olden/voronoi
+
+PCNORMAL_PROBLEM_SIZE_DIRS := \
+ $(addprefix $(LLVM_OBJ_ROOT)/projects/llvm-test/,$(PCNORMAL_PROBLEM_SIZE_DIRS))
##############################################################################
# Targets for gathering statistics for programs for papers
@@ -81,22 +104,22 @@
# Program tests for Pointer Compression
progpc::
- for dir in $(LARGE_PROBLEM_SIZE_DIRS); do \
+ for dir in $(PCLARGE_PROBLEM_SIZE_DIRS); do \
(cd $$dir; \
PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -j1 TEST=ptrcomp \
LARGE_PROBLEM_SIZE=1 report.html) \
done
- for dir in $(NORMAL_PROBLEM_SIZE_DIRS); do \
+ for dir in $(PCNORMAL_PROBLEM_SIZE_DIRS); do \
(cd $$dir; \
PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -j1 TEST=ptrcomp \
report.html) \
done
- @for dir in $(LARGE_PROBLEM_SIZE_DIRS); do \
+ @for dir in $(PCLARGE_PROBLEM_SIZE_DIRS); do \
(cd $$dir; \
PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -s -j1 TEST=ptrcomp \
LARGE_PROBLEM_SIZE=1 report) \
done
- @for dir in $(NORMAL_PROBLEM_SIZE_DIRS); do \
+ @for dir in $(PCNORMAL_PROBLEM_SIZE_DIRS); do \
(cd $$dir; \
PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -s -j1 TEST=ptrcomp \
report) \
@@ -197,6 +220,12 @@
$(LARGESIZE) $(STABLERUN) report report.html)
@printf "\a"; sleep 1; printf "\a"; sleep 1; printf "\a"
+ptrcomptest::
+ (cd $(LLVM_OBJ_ROOT)/projects/llvm-test/$(SUBDIR); \
+ PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -j1 TEST=ptrcomp \
+ $(LARGESIZE) report)
+ @printf "\a"; sleep 1; printf "\a"; sleep 1; printf "\a"
+
vtl::
(cd $(LLVM_OBJ_ROOT)/projects/llvm-test/$(SUBDIR); \
PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -j1 TEST=pavtl \